How do I log into console with SSH key with passphrase. It keeps saying incorrect login. I'm trying to login from DO console not putty.

Posted September 23, 2018 2.8k views
LAMP StackUbuntu 18.04

I’ve used root as login. I’ve used ssh public key as the password. I’ve used ssh public key passphrase as the password.

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.

Submit an Answer
1 answer

Hey friend!

The DO console is actually like having a mouse, keyboard, and monitor directly attached to the computer that is your droplet. As a result, it does not connect over the SSH protocol. The password used there will simply be the system root password for the droplet. If you do not have a password defined (meaning all passwords attempted fail, as is the default state when creating droplets with SSH keys), you can SSH in with PuTTY and type “passwd” to set a new root password.

If you created the droplet with an SSH key attached in our cloud panel, SSH login with root password will already be disabled, but you should always make sure the password is sufficiently strong.