Password less login

2 views
Skip to first unread message

Sudhir Singh

unread,
Sep 8, 2011, 2:37:59 PM9/8/11
to live-in...@googlegroups.com
Hello Friends,

I want to copy my backup files and database to remote server. For that i did password less login at the remote system as per this following site.

http://www.cyberciti.biz/faq/ssh-password-less-login-with-dsa-publickey-authentication/

I can ssh to remote system without password but after some time again ask for the .ssh/id_dsa.

Thankx & Regards,

Sudhir Singh

"Don't ever arrive at the office or in front of your computer without a clear list of priorities. You'll just read unassociated e-mail and scramble your brain for the day"

Rajveer Singh

unread,
Sep 8, 2011, 9:23:18 PM9/8/11
to live-in...@googlegroups.com
Sudhir,

On Fri, Sep 9, 2011 at 12:07 AM, Sudhir Singh <singh...@gmail.com> wrote:
Hello Friends,

I want to copy my backup files and database to remote server. For that i did password less login at the remote system as per this following site.

http://www.cyberciti.biz/faq/ssh-password-less-login-with-dsa-publickey-authentication/

I can ssh to remote system without password but after some time again ask for the .ssh/id_dsa.
 
Please share the screen output and /var/log/secure logs.
 
However, What I can guess is, you have set the password for your keys while key generation that's why it's asking for your keys password so to avoid this problem, recreate the keys again and don't set the password.

Sudhir Singh

unread,
Sep 9, 2011, 4:51:37 AM9/9/11
to live-in...@googlegroups.com
Thanks for the prompt reply. Here is the screenshot which i am getting now. yesterday it was working fine.If i run
$ exec /usr/bin/ssh-agent $SHELL
$ ssh-add


It will be again start working but not sure after some time it will again ask for id_dsa key.

Thanks & Regards,


Sudhir Singh

"Don't ever arrive at the office or in front of your computer without a clear list of priorities. You'll just read unassociated e-mail and scramble your brain for the day"



--
You received this message because you are subscribed to the Google Groups "live-into-linux" group.
To post to this group, send email to live-in...@googlegroups.com.
To unsubscribe from this group, send email to live-into-lin...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/live-into-linux?hl=en.

Reply all
Reply to author
Forward
0 new messages