{ 11 comments… read them below or add one }

1 pH July 28, 2008 at 3:21 pm

The permissions of .ssh should not be 755 and 644 for authentication_keys
It should be 700 and 600.

2 Jeremy August 6, 2008 at 1:18 pm

Step 4 refers to a file named “authorized_key” (“chmod 644 ~/.ssh/authorized_key”). It should be “authorized_keys” instead of “authorized_key”.

3 Ramesh August 6, 2008 at 2:45 pm

Jeremy,

Thanks for pointing it out. I had it correct on step#3 and made a typo on step#4.

I have corrected step#4 properly now.

4 shiva chandar December 23, 2008 at 8:47 am

Thank you so much for the information. I got it…!!!!!!!! :)

5 steve nieves September 17, 2009 at 8:19 pm

Thank you. I was not sure if this would apply to my ubuntu system on my netbook but it worked flawlessly.

6 satheesh mohan June 21, 2010 at 11:48 pm

I did everything as mentioned above. But unable to perform scp or ssh without a password prompt.

7 john February 1, 2011 at 4:41 pm

Thanks for the stuff, did just as you exlpained

8 Paul February 11, 2011 at 11:27 pm

Thanks for the notes on how to get ssh-agent up and running. Good concise info. All worked as expected after I followed along with this article.

Thanks!

9 John May 12, 2011 at 3:41 pm

Most excellent article. Clear, concise, and to the point. It works on AIX and OpenSSH versions 0.9.8g and 1.0.0a. Thanks!

10 K.Bala November 2, 2011 at 2:43 am

Thanks..
Good Stuff, it’s worked me..

11 dexter January 28, 2012 at 7:29 am

Hi,

Awesome explaination…I have a doubt…..after connecting to remote host is there any way to come back to the localhost through any command instead of opening a new session.

Leave a Comment

Previous post:

Next post: