LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-17-2004, 01:17 PM   #1
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
SSH without password?


Hey all,

I'm having some trouble getting SSH working in such a way that it doesn't prompt for a password. I need to get this working for backup and replication purposes via rsync. To date, I've been following the instructions provided in this article, and it's always worked ok. This time however, it's not. Or, I should say it's not working for my user, but it does work for root. WTH?

So, I follow those instructions, verify everything is set up and use the root user, and getting the verbose output shows this:

Quote:
debug2: we sent publickey packet, wait for reply
debug1: server accepts key: .....
Now, doing the exact same thing logged in as a normal user, when I try to SSH with verbose output, I get to the same point and get this:

Quote:
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug1: Next authentication method: keyboard-interactive
And then it proceeds to prompt me for a password.

I'm stuck here and don't know what else to try. I've gone through all the troubleshooting, I've verified that the public key matches the authorized_keys file on the server.. it should work, it just isn't!

These are both FC2 machines with the same user/password set up. Any ideas?

Thanks...
 
Old 09-18-2004, 07:31 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
What are the permissions on the keys? Can you post the output from this on both machines:
ls -la ~/.ssh
 
  


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
SSH without password Ephracis Linux - Security 4 02-25-2005 03:30 PM
SSH without password hywaydave Linux - Security 3 02-02-2005 04:40 AM
ssh password ssudhi Linux - Newbie 6 05-13-2004 10:30 PM
SSH without password Kocil Linux - Networking 6 12-16-2003 03:59 PM
password less SSH maaand Linux - Networking 0 04-23-2002 09:13 PM


All times are GMT -5. The time now is 06:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration