Paste the public key into the authorized_keys file. Use your preferred text editor to create and/or open the authorized_keys file:
#Putty ssh generator
![putty ssh putty ssh](https://cdnblog.filecloud.com/blog/wp-content/uploads/2015/09/sshot-8.png)
Launch PuTTYgen from the Windows Programs list and proceed with the following steps.
![putty ssh putty ssh](https://expange.ru/img/upload/1/3/131.png)
Otherwise, proceed to Copy Public Key to Server. If the public key is already appended to the authorized_keys file on the remote SSH server, then proceed to Connect to Server with Private Key.
#Putty ssh install
This can be done by copying and pasting the contents of the file or using an SCP client such as PSCP which is supplied with the PuTTY install or FileZilla. If you have an existing OpenSSH public and private key, copy the id_rsa key to your Windows desktop. Both PuTTY and PuTTYgen should now be accessible from the Windows Programs list. The default settings are suitable for most installations.
![putty ssh putty ssh](https://whstatic.1and1.com/help/CloudServer/EN-US/Putty_Login_with_public_key_3.png)
Once the PuTTY Windows installer is downloaded, double-click the executable in the Download folder and follow the installation wizard. These two tools can be downloaded individually or, preferably, as a Windows installer from the PuTTY Download Page. Requirementsīoth PuTTY and PuTTYgen are required to convert OpenSSH keys and to connect to the server over SSH. Therefore, it is necessary to create a new SSH public and private key using the PuTTYgen tool or convert an existing OpenSSH private key. The PuTTY SSH client for Microsoft Windows does not share the same key format as the OpenSSH client. While not required, the SSH private key can be encrypted with a passphrase for added security.
#Putty ssh password
The SSH key pair establishes trust between the client and server, thereby removing the need for a password during authentication. SSH can handle authentication using a traditional username and password combination or by using a public and private key pair.