SSH Port Forwarding

less than 1 minute read

Just finished a reading on SSH Port Forwarding.

It’s pretty clear. Not much left to say. Only one note:
If you use it in Remote mode and want to bind ip addresses other than localhost, you must enable an option in the /etc/ssh/sshd_config of the ssh server machine:
GatewayPorts yes

By default, sshd only allows ssh client to initiate service binding to loopback interface.


Categories: Tech, Uncategorized