Setup ssh config for jump host (bastion)
vim ~/.ssh/config
#~/.ssh/config | |
################### EXAMPLE-BASTION ################### | |
Host example | |
User diego.luisi | |
IdentityFile ~/.ssh/id_rsa | |
HostName XX.XXX.XXX.X | |
ControlMaster auto | |
ControlPath ~/.ssh/mux-bastion-example | |
ControlPersist 15m |