jeudi 4 décembre 2014

SSH tunnel underlying connection port


Vote count:

0




I was reading about ssh tunnels, and I was able to make it work on my computer; I tried local port forwarding and it worked as expected,


From my system (host1) ssh -L 9000:host3:3000 host2


With the above tunnel created I was able to access host3 on my system through localhost:9000.


So, on which port is the tunnel established between host1 and host2? Is it on port 22 on host2? Do all ssh tunnels work over port 22, or whatever the default port is in the sshd config?



asked 44 secs ago

Rnet

1,143






SSH tunnel underlying connection port

Aucun commentaire:

Enregistrer un commentaire