I am trying to setup a SSH Tunnel on my Windows machine. Since the bash was introduced in 1607, i don't want to use cygwin anymore. The problem is that the bash always returns the error message: bind: Address already in use
. The command I use - which works in cygwin - is:
ssh username@172.11.0.1 -L 8022:173.22.0.1:22
I already tried to use a lot of different ports with no success. I also tried to kill everything on that port using:
lsof -ti:8022 | xargs kill -9
Does anyone have an idea, why I am not able to setup this tunnel? I just want to use cygwin anymore, since I now have an integrated bash in windows.
I am starting the bash in admin mode.