Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
en:documentation:tutorials:ssh:first_connection [2018/06/21 09:23] – [Copie des clefs] ltaulellen:documentation:tutorials:ssh:first_connection [2020/08/25 15:58] – modification externe 127.0.0.1
Ligne 1: Ligne 1:
 ====== First SSH connection ====== ====== First SSH connection ======
 +
 +===== From ENS network =====
 +
 +
 +  * To connect to ''allo-psmn'' from the ENS network, simply type in a terminal the following command:
 +
 +<code bash >
 +ssh <mylogin>@allo-psmn.psmn.ens-lyon.fr
 +</code>
 +
 +===== From outside of ENS network =====
 +
 +   * To connect to ''allo-psmn'' from outside of the ENS network, you first need to connect to ''ssh.psmn.ens-lyon.fr'' in order to access the ENS network. Then connect to  ''allo-psmn''. In a terminal, type the following commands: 
 +
 +<code bash>
 +ssh <mylogin>@ssh.psmn.ens-lyon.fr
 +# enter your PSMN password
 +# then 
 +ssh <mylogin>@allo-psmn.psmn.ens-lyon.fr
 +# enter your PSMN password
 +</code>
 +
 +===== First connection error message =====
  
 <WRAP center round important 82%> <WRAP center round important 82%>
Ligne 5: Ligne 28:
 you need to <wrap em>strictly follow these instructions </wrap> ! you need to <wrap em>strictly follow these instructions </wrap> !
 </WRAP> </WRAP>
- 
- 
  
  
Ligne 24: Ligne 45:
 ===== Generate SSH keys ===== ===== Generate SSH keys =====
  
 +<note important>**WARNING**: This step provide a key pair without passphrase, for job submission. This key pair **MUST NOT** leave PSMN. It is equivalent to a master key on your home.</note>
  
-Si vous ne disposez pas déjà d'un jeu de clefs SSH sans mot de passe, vous allez le créer la première fois que vous vous connectez (pour simplifier le fonctionnement du système de calculs, vous devez disposer d'un jeu de clefs SSH sans mot de passe). Tapez les lignes de commande suivantes : +If you don't have already a SSH key pair **without** passphrase, you need to create it first time you connect (In order to simplify the computation system, you **must** have a PSMN'SSH key pair **without** passphrase). Strictly follow these CLI instructions:
- +
-If you don't have already a SSH key pair **without** passphrase, you need to create it first time you connect (In order to simplify the computation system, you **must** have a SSH key pair **without** passphrase). Strictly follow these CLI instructions:+
  
 <code bash> <code bash>
Ligne 56: Ligne 76:
 <wrap hi>Hit ENTER</wrap> (default answer) <wrap hi>Hit ENTER</wrap> (default answer)
  
-===== Copie des clefs =====+===== Keys copy =====
  
 Then, create the  ''~/.ssh/authorized_keys'' file by  typing: Then, create the  ''~/.ssh/authorized_keys'' file by  typing:
Ligne 85: Ligne 105:
   ServerAliveInterval 60   ServerAliveInterval 60
   ForwardX11Timeout 1d   ForwardX11Timeout 1d
 +  TCPKeepAlive yes
   ForwardAgent yes   ForwardAgent yes
-  ForwardX11 yes         # pour Linux +  ForwardX11 yes         # for Linux 
-#  ForwardX11Trusted yes # pour MacOSX+#  ForwardX11Trusted yes # for MacOSX
   Compression yes   Compression yes
   StrictHostKeyChecking no   StrictHostKeyChecking no
 +  HashKnownHosts no
 </code> </code>