Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-01-2006, 12:02 PM
|
#1
|
|
LQ Newbie
Registered: Aug 2005
Posts: 9
Rep:
|
Problem with ssh and authorized_keys...
I generated private and public rsa keys and installed my public rsa key on several machines in the .ssh/authorized_keys file. Everything works fine I can ssh to these machines without a pass word, except in on case. There is one account that still asks me for a password when I ssh to it. I have went through the steps of installing my public key several times but to no avail. Is there something I'm missing.
Thanks,
Kirk
|
|
|
|
02-01-2006, 02:33 PM
|
#2
|
|
Member
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 271
Rep:
|
Check the logs on both machines, usually in /var/log/secure. You should get some idea of why the key authentication isn't working.
|
|
|
|
02-01-2006, 03:18 PM
|
#3
|
|
Member
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892
Rep:
|
Is it asking for your account password or your key passphrase? Some servers can be configured to require both the public/private keypair and the key's passphrase. Or it may be an order-of-authentication type of thing; for some (configuration) reason, password comes before keypair.
|
|
|
|
02-01-2006, 03:30 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2005
Posts: 9
Original Poster
Rep:
|
Quote:
|
Originally Posted by Dudydoo
Check the logs on both machines, usually in /var/log/secure. You should get some idea of why the key authentication isn't working.
|
Thank you. It turned out to be the users home directory permissions.
Kirk
|
|
|
|
02-01-2006, 03:31 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2005
Posts: 9
Original Poster
Rep:
|
Quote:
|
Originally Posted by taylor_venable
Is it asking for your account password or your key passphrase? Some servers can be configured to require both the public/private keypair and the key's passphrase. Or it may be an order-of-authentication type of thing; for some (configuration) reason, password comes before keypair.
|
It turned out to be the users home directory permissions. Thanks,
Kirk
|
|
|
|
02-01-2006, 03:40 PM
|
#6
|
|
Member
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 271
Rep:
|
Great! I was going to suggest that, because that is a common mistake.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|