User Tools

Site Tools


other:ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
other:ssh [2023/03/23 10:02]
jypeter [What are ssh keys and why use them?] Improved
other:ssh [2023/04/14 12:35]
jypeter [Windows ssh agent] Cleaned the Win agent section
Line 71: Line 71:
 === IPSL servers === === IPSL servers ===
  
-If you want to connect to the **IPSL servers** (only possible with [[other:​ssh#​using_ssh_keys|ssh keys]]!): +If you want to connect to the [[https://​documentations.ipsl.fr/​spirit/​spirit_clusters/​head_nodes.html|IPSL servers]] (only possible with [[other:​ssh#​using_ssh_keys|ssh keys]]!): 
-  * Connecting to ''​ciclad'':​\\ ''​ssh -A -X my_ciclad_login@ciclad.ipsl.jussieu.fr''​ +  * Connecting to ''​spirit1'':​ 
-  * [[https://​documentations.ipsl.fr/​MESO_User/Quick_start.html|More details]]+    * ''​ssh -A -X my_meso_login@spirit1.ipsl.fr''​ 
 +    * Depending on what you need to do, you can also use ''​spirit2'',​ ''​spiritx1''​ or ''​spiritx2''​ 
 +  * [[https://​documentations.ipsl.fr/​spirit/spirit_clusters/​head_nodes.html|More details]] 
 +  * Note: the ''​ciclad''​ server may still be accessible when you read this page, but its usage has been deprecated in favor of the ''​spirit''​ servers
  
 === TGCC (super)computers === === TGCC (super)computers ===
Line 373: Line 376:
 ==== Windows ssh agent ==== ==== Windows ssh agent ====
  
-On Windows, you should use [[other:​putty_conf|Pageant]] as an ssh agent+  * On Windows, you should use [[other:​putty_conf#​using_the_private_key_in_pageant|Pageant/PuTTY]] as an //ssh agent//, because [[other:​putty_conf#​launching_putty_pageant|Pageant/​PuTTY]] also offers a very easy and convenient way to define profiles to connect to your favorite servers 
 + 
 +  * It is also possible (but less convenient) to use the Windows built-in ''​ssh-agent''​ and ''​ssh''​ commands! 
 +    * Note that the //agent service// is not activated by default and you will get the following error when you try to use ''​ssh-add''​ 
 +      * <​code>​C:​ > ssh-add 
 +Error connecting to agent: No such file or directory</​code>​ 
 +    * It is necessary to first **activate the agent Windows //​service//​** (in an **//​elevated//​ PowerShell**,​ i.e with //​Administrator//​ privileges) as explained in the [[https://​learn.microsoft.com/​en-us/​windows-server/​administration/​openssh/​openssh_keymanagement#​user-key-generation|User key generation]] section 
 +      * <​code>​C:​ > Get-Service ssh-agent 
 +Status ​  ​Name ​              ​DisplayName 
 +------ ​  ​---- ​              ​----------- 
 +Stopped ​ ssh-agent ​         OpenSSH Authentication Agent 
 + 
 +C: > Get-Service ssh-agent | Set-Service -StartupType Automatic 
 + 
 +C: > Start-Service ssh-agent 
 + 
 +C: > Get-Service ssh-agent 
 +Status ​  ​Name ​              ​DisplayName 
 +------ ​  ​---- ​              ​----------- 
 +Running ​ ssh-agent ​         OpenSSH Authentication Agent 
 + 
 +C: > ssh-add 
 +Enter passphrase for C:​\Users\your_login/​.ssh/​id_dsa:​ 
 +Identity added: C:​\Users\your_login/​.ssh/​id_dsa 
 +Identity added: C:​\Users\your_login/​.ssh/​id_ed25519</​code>​
  
 ==== Mac ssh agent ==== ==== Mac ssh agent ====
other/ssh.txt · Last modified: 2023/05/03 08:32 by jypeter