The easiest, and most secure way to access and protect all of your infrastructure.
GNU Affero General Public License v3.0
17.6k
stars
1.76k
forks
source link
"bind: address already in use" when connecting to a second host while using local port forwarding #29848
Closed
Gunni closed 1 year ago
Expected behavior
terminal 1:
tsh ssh -L 6001:127.0.0.1:80 example_host
terminal 1:<gets shell>
<port is forwarded>
terminal 2:
tsh ssh example_host
terminal 2:<gets shell>
Note that it does not matter if I connect to
example_host
orexample_host2
, I get an identical error.Current behavior
When trying to connect in terminal 2, I get an error.
Same remote host as the one with local port forwarding
Different remote host:
Workaround
In terminal 2, forward a different port.
Bug details