Do you have to choose password before using publickey?
As you can see password is chosen before trying to use publickey. Now you can login without being prompt for pwd. (Steps one and two are recommended in the OpenSSH FAQ .) Are you logging in with the same user account as the one you added the key for on the server? (i.e.
How to prompt for password in modern authentication?
In Registry Editor, locate and click the following registry subkey: On the Edit menu, point to New, and then click DWORD Value. Type AlwaysUseMSOAuthForAutoDiscover, and then press Enter. Right-click AlwaysUseMSOAuthForAutoDiscover, and then click Modify. In the Value data box, type 1, and then click OK. Exit Registry Editor.
Why does SSH ask for password before publickey?
In my case password was written before publickey, so ssh would prompt me for password even though I had copied my pub_key onto server. As you can see password is chosen before trying to use publickey. Now I can login without being prompt for pwd.
Do you need a password to log in as a new user?
Logging in as the new user, even one that can use sudo, however, will still require a password. I am having a similar issue to the author of opening post. Followed these directions: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04
Where to copy the source public key in SSH?
It’s better to verify the destination server /etc/ssh/sshd_config to check where to copy the source public key (i.e. authorized_keys location in destination server) So try ssh password-less connection after copying your authorized_keys to corresponding location. Maybe while generating ssh-key you have added password to a key.
How to enter passphrase in Ubuntu SSH key?
Maybe while generating ssh-key you have added password to a key. Enter passphrase (empty for no passphrase): <- press enter as for default ( no password ). Thanks for contributing an answer to Ask Ubuntu!