.ssh_config
code:.ssh_config
Host step
HostName x.x.x.x
User user
IdentityFile ~/.ssh/id_rda
Port 10022
Host batch
HostName x.x.x.x
User user
ProxyCommand ssh -W %h:%p step
IdentityFile ~/.ssh/id_rsa
Port 10022
#dotfile