SSH-Keygen : Still requires password on login
I'm new to Linode and true linux in general. I do tech support for a startup and thought I was a pretty smart dude.
Linode is destrooooyyiinng me.
To be fair, it's my fault. To be double fair I've run in this issue for the past 24 hours continuously over the past 24 hours and I don't know what I'm doing wrong.
I've looked at Linux stack Exchanges and other forums and I haven't found a fix.
Issue: I ssh
Local Computer:
Macbook Pro
OS 10.8.5
Linode:
lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
Following steps listed here :
Steps I took ( I know it' sucks to pry these details out of people so I want to make sure I don't waste any of y'alls time
Did you add a user? Yes
Did you promote them to have sudo permisssion via "usermod -a -G sudo"? Yes
after this I apt-get update , apt-get upgrade to make sure I'm up to date.
Did you generate a key on your local computer yes
did you send the key through SCP to your user@ip ; ending with a colon and confirm it's reciept? Yes
Did you make a new directory ; .ssh ( in your home/usr folder) and from there make a new subdirectory called authorized_keys? Yes
Did you mv rsaid.pub to /.ssh/authorizedkeys
Did you move rsaid.pub? Yes ( however this is where it got kinda weird, I had to move it into ssh and then to authorizedkeys. said file/directory didn't exist. Then I got 'er done )
did you make the ownership and permission changes as described ? Yes sudo'd em all :
chown -R exampleuser:exampleuser .ssh
chmod 700 .ssh
chmod 600 .ssh/authorized_keys
Sooo that about wraps it up. I feel like I've tried everything but I know there's something I'm missing, most likely a permission modification that wasn't done right or something is up with the key itself in some regard.
Anyways, Thanks in advance for y'alls response
I'm having a blast ( and minor arthiritis) learning linode/linux and each paranod rebuild is helping get this stuff into my brain.
4 Replies
> Did you make a new directory ; .ssh ( in your home/usr folder) and from there make a new subdirectory called authorized_keys? Yes
authorizedkeys is a file not a subdirectory it should contain the contents of your idrsa.pub file.
Thanks obs!