This is the mail archive of the
mailing list for the Cygwin project.
Re: ssh to Cygwin sshd - command with bat file fails when trust established but works with password authentication
- From: Achim Gratz <Stromeko at nexgo dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 06 Sep 2016 19:59:47 +0200
- Subject: Re: ssh to Cygwin sshd - command with bat file fails when trust established but works with password authentication
- Authentication-results: sourceware.org; auth=none
- References: <20160906104335.CCAE4CA4@m0086238.ppops.net>
Jeffrey Lightner writes:
> The weirdness is that this failure only occurs when we call it using
> ssh trust to make the connection. If we make the connection without a
> trust so that it prompts for the OS level password the bat file then
> executes correctly including its application level login.
That most likely means that this application needs network access. If
you log in via public key and don't have a password stored in registry
via 'passwd -R' and cygserver running to use it, then you won't have any
access rights to non-local resources.
If all you need is indeed to run one script, you might alternatively be
able to set up a service that starts under a network user and just runs
that script when triggered by your remote user login in via ssh.
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple