PuTTY is a free and easy to use ssh client for Windows. You can use it to connect to your favorite remote Linux servers in text mode, and start remote graphical applications if you also have a running X server
Official web site: PuTTY Web site
You could directly launch PuTTY (
PuTTY), but it is actually more efficient to launch
Pageant, especially if you are often going to connect to the same server(s)
Pageantis an ssh agent for Windows, but this page also explains how to use it for easily creating and using connection profiles (aka Sessions) to connect to remote Linux servers
Loadan existing (and properly configured) session,
Saveit under a new name, change the session details, and then save the session again.
PuTTYConfiguration window, and change the displayed settings in the right part of the window.
ssh1.lsce.ipsl.frfor the LSCE access server (also called LSCE gateway)
If you are in a hurry, you can connect to the Linux server specified in the Host Name field by clicking on Open
Loadan existing session (e.g. the ssh1 profile defined above), that will serve as a template (with the recommended settings) for the future sessions
xterm-256colorinstead of the default
xtermterminal type in the
Terminal-type stringfield. This will allow you to display nicer colors in the terminals (for the applications that use fancy colors)
Start Pageant, and then the PuTTY Configuration manager: (Right click on)
obelix (direct connection)
spiritx2depending on which IPSL server you want to access
Sessionand Save the session
ssh1) and click on Load.
SSHcategory, specify the command used to connect to the target server from the gateway, in the Remote command field
ssh -X -A obelix(check the useful ssh options for more details on the options)
Note: PuTTY will ask your password each time you open a session, unless you have ssh keys, and you use Pageant to store your passphrase
It is possible to create a shortcut on the desktop to start a specific session!
putty.exein the path field, and click
"C:\Program Files\PuTTY\putty.exe"(with the quotes!)
obelix via ssh1
"C:\Program Files\PuTTY\putty.exe" -load "obelix via ssh1"
"C:\Program Files\PuTTY\putty.exe" -load "obelix (direct)"
In this section, we will use key files that have the same base name, and different extensions: e.g.
You should make sure that you can see hidden folders, and files' extensions before you go further!
Read the Using ssh keys section if you don't already know what ssh keys are
If you already have a private ssh key generated on another computer (e.g. an
id_ed25519 text file), you just have to use
PuTTYgen to import the existing private key, and then export it to a converted
id_ed25519.ppk file that
Pageant can use
id_ed25519key file to the Windows ssh configuration directory
PuTTY Key Generator:
id_ed25519private key file (or another valid private key) and type the passphrase to unlock and import it
Save private keybutton, and create an
id_ed25519.ppkfile in the Windows ssh configuration directory
If you don't already have an existing set of recent-enough ssh keys, follow the steps below to create a set of private and public keys.
PuTTY Key Generator:
EdDSA(short for Edwards-curve DSA), with the default
ed25519keys are now recommended to access the IPSL servers
Generatebutton and move your mouse to generate some random information
Key passphraseand confirm it
Save private keybutton, and create the
id_ed25519.ppkPageant private key file
.ppkextension can only be used by
pageant. That's why you also need to export the private key, as shown below
Export OpenSSH Keyand create the
id_ed25519standard private key file (a text file with no
PuTTY, but you may need to use this private key in a standard text format later, on Linux computers/servers
id_ed25519.pubstandard public key file
Public key for pasting into OpenSSH authorized_keys filefield in the
ssh-ed25519 AAAAC3NzaC1lZDI[... lots of characters ...]vwjLNmY eddsa-key-20230310
Save public keybutton to create the public key file, because the resulting file will not be standard enough to be used directly on Linux computers
We assume that the private key file is available locally in
Pageantand open the
Pageant Key Listwindow by:
Pageant, on remote servers where the public key matching the private key used in
Pageantwas installed correctly