HowtoOpenSSH: Mettre commande dans balise code
This commit is contained in:
parent
5abbbf9837
commit
4dae51950b
|
@ -680,7 +680,9 @@ Il se peut qu'on doive passer par une machine pour se connecter en SSH à une ma
|
|||
|
||||
On peut ainsi se connecter avec `-o ProxyCommand` :
|
||||
|
||||
ssh -o ProxyCommand="ssh -W cible.example.com:22 bastion.example.com" cible.example.com
|
||||
~~~
|
||||
$ ssh -o ProxyCommand="ssh -W cible.example.com:22 bastion.example.com" cible.example.com
|
||||
~~~
|
||||
|
||||
Dans les versions récentes d'OpenSSH (notamment sur Debian 9) il existe une méthode plus simple :
|
||||
|
||||
|
|
Loading…
Reference in a new issue