Add to ~/.ssh/config:
Host prod-web
HostName 10.0.1.50
User deploy
IdentityFile ~/.ssh/prod_key
ProxyJump bastion
Host bastion
HostName bastion.example.com
User admin
IdentityFile ~/.ssh/bastion_keyNow just type:
ssh prod-webSet defaults for all connections:
Host *
ServerAliveInterval 60
ServerAliveCountMax 3
AddKeysToAgent yesUse wildcards for groups of hosts:
Host dev-*
User developer
IdentityFile ~/.ssh/dev_key