Re: Differentiating between ssh connection failures and ssh command failures

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Sep 12, 2015 7:30 PM, "Alex Bligh" <alex@xxxxxxxxxxx> 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.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux