Le 04/10/2021 à 10:46, Wallace a écrit :
Host *.domaine.fr ProxyCommand ssh -q -W %h:%p bastion-domaine IdentityFile ~/.ssh/clefprod User uncompteadmin
Host bastion-domaine Hostname bastion.domaine.fr IdentifyFile ~/.ssh/maclef User monlogin
Bonjour,
Un truc du genre ?
Host bastion-domaine
Hostname bastion.domaine.fr
IdentifyFile ~/.ssh/maclef
User monlogin
Match originalhost "!bastion.domaine.fr,*.domaine.fr"
ProxyJump bastion-domaine
IdentityFile ~/.ssh/clefprod User uncompteadmin