Hi guys,
Probably a total noob question, but I am having trouble getting my ssh into a new CoreOS droplet. I’m on Mac 10.9, Firefox 35, and just using Terminal
Everything seems to go fine until:
debug1: Found key in /Users/sdiggly/.ssh/known_hosts:2 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering RSA public key: /Users/sdiggly/.ssh/id_rsa debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Trying private key: /Users/sdiggly/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password
I have NO idea what password that is! I didn’t create my ssh key with a password.
Also, when I try to use the virtual console to login, i’m also asked for a password
And finally, I can’t seem to get the single user mode working. I’m not sure if i’m just not fast enough, or what, but I never seem to catch the boot in time to hit “2”
Any ideas?? I’m sure i’m being an idiot here, but I can’t figure out where I’m going wrong
Thank you! sdiggly
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!
CoreOS is configured to only accept connections using SSH keys, not passwords. The default user is core So you would connect to your droplet using:
ssh core@your.droplet.ip
The -C option to ssh-keygen isn’t necessarily a username. From its man page:
-C comment
Provides a new comment.
Personally, I use that field to denote the username and computer name of the local computer not the server. So is the key is for my user foo on my personal laptop, I’d create a key with ssh-keygen -t rsa -C "foo@laptop"
Ha, awesome! Thank you asb! You are awesome! “core” vs “root”…told you it was a noob issue!
Thank you again!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.