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 | ||
| en:documentation:tutorials:ssh:multihop_ssh [2020/04/14 13:10] – [Manual multihop] ltaulell | en:documentation:tutorials:ssh:multihop_ssh [2023/12/12 12:58] (Version actuelle) – supprimée ltaulell | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Multi-hop SSH ====== | ||
| - | |||
| - | |||
| - | The servers (calculations, | ||
| - | |||
| - | {{ : | ||
| - | |||
| - | __Caption :__ | ||
| - | * **black** : physical link | ||
| - | * <wrap round notice> | ||
| - | * <wrap round danger> | ||
| - | * <wrap round safety> | ||
| - | |||
| - | |||
| - | |||
| - | The **Poste Chercheur** | ||
| - | |||
| - | ===== From a Mac/ | ||
| - | |||
| - | ==== Manual multihop ==== | ||
| - | |||
| - | We are going to manually accumulate connections (blue paths): | ||
| - | |||
| - | < | ||
| - | user@postechercheur: | ||
| - | </ | ||
| - | < | ||
| - | user@ssh.ens-lyon.fr: | ||
| - | </ | ||
| - | < | ||
| - | user@allo-psmn: | ||
| - | </ | ||
| - | < | ||
| - | user@vizu.psmn: | ||
| - | </ | ||
| - | |||
| - | These manual operations can be automatized. | ||
| - | |||
| - | ==== Automated multihop ==== | ||
| - | |||
| - | You need to add the gateways and target servers entries in the '' | ||
| - | |||
| - | |||
| - | * '' | ||
| - | <file - ~/ | ||
| - | Host ssh-ens | ||
| - | User user | ||
| - | HostName ssh.ens-lyon.fr | ||
| - | |||
| - | Host allo-psmn | ||
| - | User user | ||
| - | ProxyCommand ssh -qt ssh-ens tcpconnect allo-psmn.ens-lyon.fr %p | ||
| - | |||
| - | Host vizu.psmn | ||
| - | User user | ||
| - | ProxyCommand ssh -qt allo-psmn netcat -w1 vizu.psmn.ens-lyon.fr %p | ||
| - | </ | ||
| - | |||
| - | (//A [[documentation: | ||
| - | |||
| - | That's it. You can now connect to **'' | ||
| - | < | ||
| - | user@postechercheur: | ||
| - | |||
| - | user@vizu.psmn: | ||
| - | </ | ||
| - | |||
| - | |||
| - | It also works with the '' | ||
| - | |||
| - | |||
| - | The configuration and explanations on the automation of the login steps with an SSH-agent-ssh are explained | ||
| - | [[documentation: | ||
| - | |||
| - | ===== From a Windows machine ===== | ||
| - | |||
| - | ==== Multi-hop with PuTTY (Windows) ==== | ||
| - | |||
| - | See the use of [[documentation: | ||
| - | |||
| - | |||