| Summary: | ExitOnForwardFailure=yes doesn't work for local forwards (-L) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Wiebe Cazemier <wiebe> | ||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | NEW --- | ||||||
| Severity: | normal | CC: | djm | ||||
| Priority: | P5 | ||||||
| Version: | 7.6p1 | ||||||
| Hardware: | Other | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
Wiebe Cazemier
2019-05-31 21:21:27 AEST
It does work properly from Ubuntu 16.04, Openssh 7.2p2-4ubuntu2.8: ssh -L 22022:localhost:22 -o ExitOnForwardFailure=yes root@server.com -p 22022 bind: Address already in use channel_setup_fwd_listener_tcpip: cannot listen to port: 22022 Could not request local forwarding. Another interesting result: it started happening randomly. Apparently, it switched between ipv4 and ipv6. With -4, it works properly and fails consistently. Could you please attach a debug trace from a failing instance? "ssh -vvv ..." Created attachment 3435 [details]
ssh -vvv output
Debug trace with ExitOnForwardFailure=yes that still logs in.
|