Home / Operating System / Linux / Tạo ssh tunneling trên linux

Tạo ssh tunneling trên linux

Debian/Ubuntu:

# apt-get instal autossh

# /usr/bin/autossh -L 192.168.1.110:25:localhost:25 khanh@remoteserver.com -p 22 -N -f

 

Centos/RHEL:

# yum install autossh

# /usr/bin/autossh -M29001 -f -N -L192.168.1.110:25:localhost:25 khanh@remoteserver.com -p 22

 

Usage: autossh [-V] [-M monitor_port[:echo_port]] [-f] [SSH_OPTIONS]

About dongpolicex2

Check Also

ERROR Remote Desktop CredSSP encryption Oracle remediation

Remote Desktop CredSSP encryption Oracle remediation: This is a quick credssp registry fix for the …

Leave a Reply

Your email address will not be published. Required fields are marked *

0902 780 887