It cannot be used with other SSH client tools. Make sure to append the key (‘>>’), otherwise existing keys in the authorized_keys will be deleted. Copy the private key generated on the server to the client computer from where you will be connecting to the server. mkdir .ssh cd .ssh cat > authorized_keys. Well done! 「PuTTY Key Generator」というウインドウが表示されるはずです。 「SSH-2 RSA」がクリックされ、その右下に「2048」と入力されている事を確認したら、「Generate」をクリックして下さい。 You must use a key of this format when using PuTTY as your SSH client. Move the public key to .ssh/authorized_keys file. Bei Putty dient das Tool PuTTY Key Generator (puttygen.exe anstelle von ssh-keygen) zum Erzeugen von RSA- (Default) oder DSA-Schlüsselpaaren. SSH and PuTTY keys are of different formats and will have to be converted to each other's format if you want to use the same key between the 2 programs. 这时候注意:要从puttygen.exe生成的 公钥生成框中直接复制 如果从文件中复制的话。容易出现这样的问题: server refused our key。 选中所有内容,按 Ctrl+C 复制 到剪贴板中,然后在Putty窗口中按Shift+Ins粘贴,再按Ctrl+D键,完成文件的创建 Configure Putty Client. За достъп до хостинг акаунта през ssh с ключ ще е нужно: първо да генерирате двойка ssh ключове и след това да настроите приложението, което се използва за ssh … The .ppk file extension indicates that the private key is in PuTTY's proprietary format. Refer to the PuTTY documentation to convert a private key in this format to a different format. Paste the SSH public key into your ~/.ssh/authorized_keys file using the command-line text editor of your choice and save it. cat .ssh/id_rsa.pub >> .ssh/authorized_keys. If you can login to your account using SSH without a password, you have successfully set up SSH key-based authentication. Follow these steps to convert SSH's key to PuTTY's. If you see Authenticating with public key, you have configured SSH key-based authentication correctly. Recommended: Disable Password Authentication on your Server.