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
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.
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"
There’s no such thing as “ssh creation”. What username are you using?
Ha, awesome! Thank you asb! You are awesome! “core” vs “root”…told you it was a noob issue!
Thank you again!
try
core
username maybe?Thanks. I feel like this should be called out from the DO interface
Thanks otann! This worked
This comment has been deleted
Sorry, i meant the username from:
ssh-keygen -t rsa -C “sdiggly”
so i’m trying to login using:
ssh -vT sdiggly@droplet IP address
I’ve tried using:
ssh -vT root@droplet IP address
with the same results
“username-from-ssh-creation”
There’s no such thing as “ssh creation”. What username are you using?