LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-19-2004, 11:26 AM   #1
linuxboy69
Member
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 138

Rep: Reputation: 15
Can't login using ssh keys


I am having problems setting up ssh keys so that a user on one box can login to another box without being prompted with a login. This is very frustration considering that this process is very simple. I will try to break it down. I have three boxes, A .. B and C.

A is suppose to login to B without a login prompt
A is suppose to login to C without a login prompt

A does not have any problems using ssh to connect to C without a login prompt.

I copy the authorized_keys file to B but when I try to login to B from A I still get a login prompt. I have even tried specifing the key I want to use using the -i option but it still doesn't work. Is there something that I am not thinking of?
 
Old 03-19-2004, 02:23 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Hi,

Quote:
I copy the authorized_keys file to B but when I try to login to B from A I still get a login prompt
Here's an idea. Don't copy across the authorized key file. On A, append the public key to the authorized key file on B. Then try. At work, I do it that way and works 100% all the time, I never transfer across the authorized key files

-twantrd
 
Old 03-19-2004, 02:47 PM   #3
linuxboy69
Member
 
Registered: Oct 2003
Distribution: Redhat 9
Posts: 138

Original Poster
Rep: Reputation: 15
Thank you for replying.

I tried that as well and it did not work.
 
  


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
Can't login with ssh pub keys fisayo Mandriva 2 11-17-2005 07:12 PM
SSH Login - Forcing keys! jackster Linux - Security 5 01-25-2005 08:09 AM
ssh keys Lucasite Linux - Security 2 03-11-2004 12:43 PM
Configuring SSH to accept only keys (already have keys) fr0st Linux - Security 3 11-04-2003 03:31 AM
SSh Keys shaggz Linux - General 2 02-19-2003 09:09 PM


All times are GMT -5. The time now is 06:14 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