SSH Keys - passphrase requested at every login

  • Posted on November 16, 2014
  • Chris72Asked by Chris72

Created droplet with Ubuntu 14.04 32 bits with SSH keys. Using putty client on Windows 7
Every time I log as root, the passphrase is requested (and the logging is successful).

There are no error messages in /var/log/auth.log

Screen output: Using username “root”. Authenticating with public key “rsa-key-blah…” Passphrase for key “rsa-key-blah…”: Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-37-generic i686)

root@demo:~# ls -l /root/.ssh total 4 -rw------- 1 root root 381 Nov 15 20:22 authorized_keys

Any idea?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Good day,

Is there a way to go back after a droplet has been created and an SSH Key added and add a passphrase to the Key?

Thank you.

The passphrase is request because you created your SSH key with a passphrase, so PuTTy needs to decrypt the SSH key first before being able to use it.

To remove the passphrase, run puttygen.exe, and click on the Load button. Select your private key, make sure that the “passphrase” field in empty and then click on the “Save private key” button. That should create a copy of your SSH key without a passphrase.