LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ssh without password (https://www.linuxquestions.org/questions/linux-software-2/ssh-without-password-721293/)

ust 04-23-2009 09:11 PM

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


http://www.csua.berkeley.edu/~ranga/...sh_nopass.html

druuna 04-24-2009 03:33 AM

Hi,

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.

Quigi 04-24-2009 09:25 AM

[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."

Quote:

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.,
Code:

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.

Quote:

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


All times are GMT -5. The time now is 04:05 PM.