informatique:reseau:ssh
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:reseau:ssh [19/02/2024 10:41] – Proxying cyrille | informatique:reseau:ssh [16/10/2025 14:29] (Version actuelle) – [Linux Keychain Guide] cyrille | ||
|---|---|---|---|
| Ligne 77: | Ligne 77: | ||
| * [[http:// | * [[http:// | ||
| * ssh-agent | * ssh-agent | ||
| + | |||
| + | ==== sshfs ==== | ||
| + | |||
| + | Permet de monter un filesystem distant via ssh | ||
| + | |||
| + | * https:// | ||
| + | |||
| + | < | ||
| + | sshfs -p < | ||
| + | </ | ||
| ===== Tips ===== | ===== Tips ===== | ||
| Ligne 124: | Ligne 134: | ||
| RSSH: http:// | RSSH: http:// | ||
| - | ==== via Proxy ==== | ||
| - | |||
| - | <code bash> | ||
| - | scp -o ' | ||
| - | </ | ||
| ==== Tunnel ==== | ==== Tunnel ==== | ||
| Ligne 150: | Ligne 155: | ||
| === Proxying === | === Proxying === | ||
| + | |||
| + | <code bash> | ||
| + | scp -o ' | ||
| + | </ | ||
| Se connecter à un serveur via un autre serveur (forwarding agent): | Se connecter à un serveur via un autre serveur (forwarding agent): | ||
| ssh -p <public port> -t -A root@< | ssh -p <public port> -t -A root@< | ||
| + | |||
| + | proxying (JumpHost): | ||
| + | |||
| + | ssh -J jump-user@jump.net: | ||
| Via la configuration du client SSH, ce qui du coup fonctionne avec SCP: | Via la configuration du client SSH, ce qui du coup fonctionne avec SCP: | ||
| - | | + | < |
| Host machineC | Host machineC | ||
| ProxyCommand ssh -p XXX user@machineB nc %h %p | ProxyCommand ssh -p XXX user@machineB nc %h %p | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | host un-nom-raccourci | ||
| + | Hostname destination.finale.net | ||
| + | ProxyCommand ssh -p 666 -W %h:22 user-passerelle@passerelle.ssh.net | ||
| + | User user-destination | ||
| + | IdentityFile $SSHKEY | ||
| + | </ | ||
| Ouvrir une console via une autre machine: | Ouvrir une console via une autre machine: | ||
informatique/reseau/ssh.1708335668.txt.gz · Dernière modification : de cyrille
