Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Dec 07, 2013 11:55 pm 
Offline
Newbie

Joined: Sat Dec 07, 2013 1:13 am
Posts: 4
Hey All!
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 User@ip.address, I am still requested for user password

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 : https://library.linode.com/securing-your-server

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 :D
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 rsa_id.pub to /.ssh/authorized_keys

Did you move rsa_id.pub? Yes ( however this is where it got kinda weird, I had to move it into ssh and then to authorized_keys. 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 example_user:example_user .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.


Top
   
PostPosted: Sun Dec 08, 2013 7:16 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Quote:
Did you make a new directory ; .ssh ( in your home/usr folder) and from there make a new subdirectory called authorized_keys? Yes


authorized_keys is a file not a subdirectory it should contain the contents of your id_rsa.pub file.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Mon Dec 09, 2013 1:56 am 
Offline
Newbie

Joined: Sat Dec 07, 2013 1:13 am
Posts: 4
Ah! Good to know. Let me remove both and try again from the instructions.


Top
   
PostPosted: Mon Dec 09, 2013 2:01 am 
Offline
Newbie

Joined: Sat Dec 07, 2013 1:13 am
Posts: 4
Missing part was sudoing the command ; since Obs is right, it's a file not a directory


Thanks obs!


Top
   
PostPosted: Mon Dec 09, 2013 2:02 am 
Offline
Newbie

Joined: Sat Dec 07, 2013 1:13 am
Posts: 4
w00t ! UP and running ! :D


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group