Displaying 1 result from an estimated 1 matches for "bcg62".
2014 Jul 15
8
[Bug 2255] New: tunneling with -W does not report non 0 exit codes on failure even with ExitOnForwardFailure=yes
...wardFailure=yes
Product: Portable OpenSSH
Version: 6.6p1
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: ssh
Assignee: unassigned-bugs at mindrot.org
Reporter: bcg62 at drexel.edu
Currently it looks like there is no way to trap unsuccessful port
forwards using ssh -W
Example:
$ ssh -o ExitOnForwardFailure=yes -W localhost:1590 remotehost
$ echo $?
0
1590 is not listening on remotehost and debug output shows:
channel 0: open failed: connect failed: Connecti...