SSH port forwarding allows you to establish a secure SSH session and then tunnel arbitrary TCP connections through it.
The syntax is: ssh -L localport:remotehost:remoteport remotehostip
[root@Desktop]# ssh -L 5280:localhost:5280 192.168.0.38
Password: *******
It should come to remote server shell, leave it as is.
You can avoid logging in Server by using -N option with ssh command.
No comments:
Post a Comment