2020-07-31 12:41:53 +02:00
|
|
|
Host jumpserver
|
|
|
|
Hostname <IP>
|
|
|
|
User root
|
|
|
|
IdentityFile /home/<USER>/.ssh/<ID>
|
|
|
|
|
2020-08-01 00:51:40 +02:00
|
|
|
Host HostToExpose
|
2020-07-31 12:41:53 +02:00
|
|
|
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
|