How do I login to Ubuntu Snappy Core?

I just configured Ubuntu Snappy Core on my Raspberry Pi 3 and now it is now asking for a user name and password in the terminal (I think). It says:

Ubuntu Core 16 on <my ip address> (ttyl)
localhost login:
Password:

I'm not sure whether these fields are for your Ubuntu account username and password or email and password or whatever. I've tried my Ubuntu account username and password and I also tried it with my email and password. Neither worked so I tried leaving them blank which also didn't work.

Is there some default password or did I put it in earlier and if so when or where? If I knew that I might be able to remember what I put.


Solution 1:

Ubuntu Core 16 does not come with a default user name and password. Ubuntu Core requires you to setup a Ubuntu SSO account with your SSH keys, which enable you access to your device. Once in, you can create your own user. Please find the relevant instructions here.

Solution 2:

Had the same issue at first.

If you are on a windows machine trying to use putty follow the directions here:

https://www.howtoforge.com/ssh_key_based_logins_putty

Solution 3:

If your public key is correctly installed in Ubuntu Core device, when you try login, it not prompt password (with your private key in .ssh directory). So, it prompts password, your device has not correctly installed your public key. Review the account in ubuntu.com, probally you paste the content of file of your public key in your account incorrecly

I needed four tries to login, and a lot of time to understand.

It would bi it very useful be able to upload the key.pub file

Solution 4:

If someone still don't know how to login to Ubuntu Core 16 for the first time, here is my solution:

  1. Open PuTTY and load the session that will connect to your Raspberry Pi 3

step 1

  1. Select Auth node on the left panel and Browse to the ssh private key, then hit Open button step 2

After that, it will ask you for login and passphrase for your private key (if you set passphrase when generate ssh key)