Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • cloud/documentation
  • 242618/documentation
  • 469240/documentation
  • LukasD/documentation
  • 35475/documentation
  • 323969/documentation
6 results
Show changes
Showing
with 83 additions and 0 deletions
content/cloud/putty/images/puttygen-openssh2ppk.png

221 KiB

content/cloud/putty/images/puttygen-passphrase.png

136 KiB

content/cloud/putty/images/puttygen-ppk2openssh.png

114 KiB

content/cloud/putty/images/puttygen_new_key.png

226 KiB

---
title: "PuTTY"
date: 2021-05-18T11:22:35+02:00
draft: false
---
[PuTTY](https://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-what) is a client program for the SSH on Windows OS.
## Windows PuTTY Installer
We recommend downloading [Windows Installer](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) with PuTTY utilities as:
* Pageant (SSH authentication agent) - store the private key in memory without the need to retype a passphrase on every login
* PuTTYgen (PuTTY key generator) - convert OpenSSH format of id_rsa to PuTTY ppk private key and so on
## PuTTY - Connect to the Instance
* Run PuTTY and enter Host name in format "login@Floating IP address" where [login](/cloud/quick-start#create-virtual-machine-instance) is for example debian for Debian OS and Floating IP is [IP address](/cloud/quick-start/#associate-floating-ip) to access instance from internet.
* In Category -> Connection -> SSH -> Auth:
* Select **Attempt authentication using Pageant**
* Select **Allow agent forwarding**
* Browse and select your private key file (if needed [convert OpenSSH format id_rsa to Putty ppk](#convert-openssh-format-to-putty-ppk-format))
* Return to *Session page* and Save selected configuration with **Save** button
* Now you can log in using **Open** button
* Enter passphrase for selected private key file if [Pageant SSH authentication agent](#pageant-ssh-agent) is not used
* We recommend using Pageant SSH Agent to store the private key in memory without the need to retype a passphrase on every login
![](images/putty-connect2instance.png)
## Pageant SSH Agent
* Run Pageant from Windows menu
* Locate Pageant icon in the Notification Area and double click on it
* Use **Add Key** button
* Browse files and select your PuTTY Private Key File in format ppk
* Use **Open** button
* Enter the passphrase and confirm **OK** button
* Your private key is now located in the memory without the need to retype a passphrase on every login
![](images/pageant-add-key.png)
## PuTTY key Generator
PuTTYgen is the PuTTY key generator. You can load in an existing private key and change your passphrase or generate a new public/private key pair or convert to/from OpenSSH/PuTTY ppk formats.
## Convert OpenSSH format to PuTTY ppk format
* Run PuTTYgen, in the menu Conversion -> Import key browse and load your OpenSSH format id_rsa private key using your passphrase
* Save PuTTY ppk private key using button **Save private key**, browse destination for PuTTY format id_rsa.ppk, and save file
![](images/puttygen-openssh2ppk.png)
## Convert PuTTY ppk private key to OpenSSH format
* Run PuTTYgen, in the menu File -> Load private key browse and open your private key in format PuTTY ppk using your passphrase
* In the menu Conversion -> Export OpenSSH key browse destination for OpenSSH format id_rsa and save file
![](images/puttygen-ppk2openssh.png)
## Change Password for Existing Private Key Pair
* Load your existing private key using button **Load**, confirm opening using your passphrase
* Enter a new passphrase in the field *Key passphrase* and confirm again in the field *Confirm passphrase*
* Save changes using button **Save private key**
![](images/puttygen-passphrase.png)
## Generate a New Key Pair
* Start with **Generate button**
* Generate some randomness by moving your mouse over the dialog
* Wait while the key is generated
* Enter a comment for your key using "your-email@address"
* Enter a key passphrase, confirm the key passphrase
* Save your new private key in the "id_rsa.ppk" format using the **Save private key** button
* Save the public key with the **Save public key** button
![](images/puttygen_new_key.png)
content/cloud/quick-start/images/CreateKeyPair1.png

85.9 KiB

content/cloud/quick-start/images/CreateKeyPair2.png

113 KiB

content/cloud/quick-start/images/CreateKeyPair3.png

95.7 KiB

content/cloud/quick-start/images/SecurityGroups1.png

146 KiB

content/cloud/quick-start/images/SecurityGroups2.png

204 KiB

content/cloud/quick-start/images/SecurityGroups3.png

202 KiB

content/cloud/quick-start/images/allocate_IP0.png

40.3 KiB

content/cloud/quick-start/images/allocate_IP1.png

56.9 KiB

content/cloud/quick-start/images/allocate_IP2.png

44.6 KiB

content/cloud/quick-start/images/allocate_IP2a.png

40.1 KiB

content/cloud/quick-start/images/allocate_IP3.png

18.2 KiB

content/cloud/quick-start/images/allocate_IP4.png

61.9 KiB

content/cloud/quick-start/images/flavor_detail.png

94.8 KiB

content/cloud/quick-start/images/instance0.png

28.9 KiB

content/cloud/quick-start/images/instance1.png

47 KiB