LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2012, 06:30 AM   #1
abhinav4
Member
 
Registered: Jun 2010
Location: India
Distribution: Fedora/Cent OS
Posts: 123

Rep: Reputation: 0
Exclamation 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

Last edited by abhinav4; 10-25-2012 at 06:34 AM.
 
Old 10-25-2012, 06:43 AM   #2
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
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/
 
Old 10-25-2012, 07:22 AM   #3
abhinav4
Member
 
Registered: Jun 2010
Location: India
Distribution: Fedora/Cent OS
Posts: 123

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by arun5002 View Post
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?
 
Old 10-25-2012, 07:38 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

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


Reply


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
Unable to login Mepis 8 Password required Maurice Arthur MEPIS 4 05-01-2011 12:18 PM
Unable to login. Doesnt accept password. veerloh Linux - Newbie 20 05-08-2009 02:14 AM
Unable to login --- Can't enter the password. paragkalra Linux - Software 12 03-17-2008 10:12 AM
password correct but..unable to login?? venki Linux - Newbie 6 01-12-2007 12:51 AM
Unable to login (no password prompt) T4urus Linux - General 1 12-21-2003 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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