Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-23-2009, 10:11 PM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
ssh without password

I follow the below guideline to setup the ssh connection with password , now I can only do it for one direction , server A can login server B without password , but vice verse is not work , I tried to re-setup it but still not work , can advise except ssh , rlogin , is there other method to do it ? thx

Last edited by ust; 04-23-2009 at 10:38 PM.
Old 04-24-2009, 04:33 AM   #2
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405

It is not clear if you set this up twice (A->B and B->A)?

The tutorial you mention sets up a passwordless client (A) to server (B) connection for (open)SSH for a specific user. It does not set up the reverse (passwordless from server (B) to client (A).

Hope this clears things up.
Old 04-24-2009, 10:25 AM   #3
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
[QUOTE=ust;3519108]server A can login server B[quote]
Try to be precise -- following to your documentation, there's one server and one client. It says, "The system from which the ssh session is started via the ssh command is the client."

still not work
Can you be more specifc? How does it fail? What does the server log? It can be helpful to run in the server debug mode, and maybe on a different port, e.g.,
sudo /usr/sbin/sshd -d -p 2222
Root privilege is lets it read the host key file. There are ways around this (and good reasons not to be root when you don't need to), but sudo is simplest here.

can advise except ssh , rlogin , is there other method to do it?
I advise to use ssh, and not to use rlogin.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
get "failed password" when scripts ssh in, but ok when I manually ssh in??? callagga Linux - Networking 4 02-06-2009 03:49 PM
ssh without password shishirkotkar Linux - Networking 5 04-03-2008 02:14 AM
password less ssh sharathkv25 Linux - Networking 5 02-19-2007 01:22 PM
need help with no password ssh and ssh-agent hedpe Linux - Networking 3 02-08-2007 09:49 PM
SSH without password? Phaethar Linux - Networking 1 09-18-2004 07:31 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration