
Edit the file " / etc / ssh / sshd_config " and enable the " GatewayPorts ", plus the following lines:
AllowTcpForwarding GatewayPorts
no yes
X11Forwarding
not
# X11DisplayOffset 10
Below the line "Port 22 " writing, for example, the following lines:
Port 80 Port 22 Port 1025
Restart the SSH service, / etc / inet.d / sshd restart , and now this service is listening on ports 22, 80 and 1025
Read on " mypapit gnu / linux blog "
0 comments:
Post a Comment