ExitOnForwardFailure=yes doesn't exit if adress is already in use and no binding adress is specified

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

 



First, let's setup some process that binds to port that we intend to use:

python -m SimpleHTTPServer 8000

Then try few commands:

ssh -N -L 5000:localhost:5432 foobar # Fails and hangs

ssh -o ExitOnForwardFailure=yes -N -L 5000:localhost:5432 foobar # Fails
and hangs

ssh -N -L 127.0.0.1:5000:localhost:5432 foobar # Fails and hangs

ssh -o ExitOnForwardFailure=yes -N -L 127.0.0.1:5000:localhost:5432 foobar
# Fails and exits

I'm running OpenSSH_7.9p1, OpenSSL 1.0.2n on Ubuntu 18.04 (16.04 + 7.9
fails too).
_______________________________________________
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