This is an old revision of the document!
PuTTY is a free and easy to use ssh client for Windows (7 and 10). 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
Download and install the latest version of PuTTY
You could directly launch PuTTY, but it is actually more efficient to launch Pageant
, especially if you are regularly going to connect to the same server(s)
Start
⇒ PuTTY
⇒ Pageant
Launch the session/configuration manager: (Right click on) Pageant
⇒ New Session
Load
an existing (and properly configured) session, Save
it under a new name, and the change the session detailsSave
!
In the Session
category:
ssh1.lsce.ipsl.fr
for the LSCE access server (also called LSCE gateway)ssh1
If you are in a hurry, you can connect to the Linux server by clicking on Open, but you should first change some useful settings
Windows
⇒ Selection
category:Connection
⇒ Data
category:Connection
⇒ SSH
⇒ Auth
category:Connection
⇒ SSH
⇒ X11
category:Host Name
⇒ obelix
Saved Session
⇒ obelix (direct connection)
Category
⇒ Session
and Save the sessionConnection
⇒ SSH
category, specify the command used to connect to the target server in the Remote command fieldNote: PuTTY will ask your password each time you open a session, unless you have ssh keys, and you use Pageant to store your passphrase
Once you have started pageant, and configured sessions, you can easily open terminals on the remote servers by right-clicking on the pageant icon, and selecting a Saved Session.
It is also possible to create a shortcut on the desktop to start a specific session!
New
⇒ Shortcut
putty.exe
: C:\Program Files\PuTTY\putty.exe
obelix via ssh1
“C:\Program Files\PuTTY\putty.exe” -load “obelix via ssh1”
Read the Using ssh keys section if you don't know what ssh keys are
Start
⇒ PuTTY
⇒ PuTTYgen
id_rsa
, you just have to use PuTTYgen to import the private key, and save it to a .ppk
file that Pageant
can useRSA
and that the number of bits is 4096
Generate
button and move your mouse to generate some random informationKey passphrase
and confirm itSave public key
button, and create a id_rsa.pub
fileConversions
⇒Export OpenSSH key
, and create a (standard) id_rsa
file
[ PMIP3 Wiki Home ] - [ Help! ] - [ Wiki syntax ]