secure-reverse-ssh-tunnel/config

11 lines
254 B
Plaintext

Host jumpserver
Hostname <IP>
User root
IdentityFile /home/<USER>/.ssh/<ID>
Host remotehost
Hostname localhost
User <REMOTE_USER>
Port 20001
IdentityFile /home/<USER>/.ssh/<ID>
Proxycommand ssh -W %h:%p jumpserver