[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ssh without password
- To: linux-il(at-nospam)linux.org.il
- Subject: Re: ssh without password
- From: "Nadav Har'El" <nyh(at-nospam)math.technion.ac.il>
- Date: Sun, 5 Aug 2001 15:40:40 +0300
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Hebrew-Date: 16 Av 5761
- In-Reply-To: <m3r8uqy9qa.fsf@localhost.localdomain>; from ogoldshmidt@computer.org on Sun, Aug 05, 2001 at 03:25:33PM +0300
- References: <m3r8uqy9qa.fsf@localhost.localdomain>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2i
On Sun, Aug 05, 2001, Oleg Goldshmidt wrote about "ssh without password":
> I am puzzled by the following: I have RH7.1 computers with
> openssh-2.5.2p2-5. I generated keys (both RSA and DSA) as a user
> on both, and exchanged them (~/.ssh/authorized_keys{,2} etc),
> with empty passphrases.
>
> I expect to be able to log on from one computer to another
> without being prompted for a password (so says the man page), but I am
> still prompted. Toggling PasswordAuthentication in
> /etc/ssh/ssh{d,}_config does not affect things. /etc/ssh/shosts.equiv
> doesn't help either. Can anyone enlighten me?
Try using "ssh -v" - it prints the steps it tries, and why it asks for a
password instead of using the RSA keys.
My guess is that you probably have wrong permissions on your files: I
think you must make sure that your authorized_keys or autorized_keys2
file is not world readable.
>
> To clarify: authentication works fine, I log on in both directions.
> It's the password prompt that annoys me.
I don't understand: is it just a useless password prompt (i.e., you type
"hello" and you can still log in), or is it simply ignoring your RSA keys
and requesting the correct password?
--
Nadav Har'El | Sunday, Aug 5 2001, 16 Av 5761
nyh@math.technion.ac.il |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |A fine is a tax for doing wrong. A tax is
http://nadav.harel.org.il |a fine for doing well.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il