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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
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: 275
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: 275
Rep:
|
Great! I was going to suggest that, because that is a common mistake.
|
|
|
All times are GMT -5. The time now is 09:56 AM.
|
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
|
|