LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to login without password (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-login-without-password-4175434004/)

abhinav4 10-25-2012 06:30 AM

Unable to login without password
 
Hi,

I am prompted for password even though I have copied id_rsa.pub key from the local machine to authorized_keys in the remote machine.

I have created the public key using ssh-keygen -t rsa on the local machine

jsaravana87 10-25-2012 06:43 AM

Lots more factor leads to failure of ssh passwordless login ,First make sure you had set proper permission for your keys & .ssh file.
Have you enable PubkeyAuthentication yes in your sshd_config file .

Look after the blog for configuration of ssh passwordless login

http://www.linuxquestions.org/questi...os-rhel-35029/

abhinav4 10-25-2012 07:22 AM

Quote:

Originally Posted by arun5002 (Post 4814541)
Lots more factor leads to failure of ssh passwordless login ,First make sure you had set proper permission for your keys & .ssh file.
Have you enable PubkeyAuthentication yes in your sshd_config file .

Look after the blog for configuration of ssh passwordless login

http://www.linuxquestions.org/questi...os-rhel-35029/

That is a big post man. I restarted both machines and it fixed the issue. do not know what was causing the problem. Any log file we can check to proceed with digging into the problem?

chrism01 10-25-2012 07:38 PM

Well, ssh normally logs to /var/log/secure.
You could also look at /var/log/mesages.
Remember the logs may have been rotated.


All times are GMT -5. The time now is 11:03 AM.