secure-reverse-ssh-tunnel/config

12 lines
257 B
Plaintext
Raw Normal View History

Host jumpserver
Hostname <IP>
User root
IdentityFile /home/<USER>/.ssh/<ID>
2020-08-01 00:51:40 +02:00
Host HostToExpose
Hostname localhost
User <REMOTE_USER>
Port 20001
IdentityFile /home/<USER>/.ssh/<ID>
2020-08-01 00:51:40 +02:00
Proxycommand ssh -W %h:%p jumpserver