Differentiating between ssh connection failures and ssh command failures
Darren Tucker
dtucker at dtucker.net
Sat Sep 12 23:29:10 AEST 2015
On Sep 12, 2015 7:30 PM, "Alex Bligh" <alex at alex.org.uk> wrote:
> That's *exactly* the issue I'm concerned about. Furthermore the server is
> not UNIX so I have no idea how to wrap it in something that makes it
> return a different exit code.
Use the control master / mux function in the ssh client? That way the
connection establishment and command requests will be separate invocations
and you can check their return codes independently.
More information about the openssh-unix-dev
mailing list