[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh without password



"Nadav Har'El" <nyh@math.technion.ac.il> writes:

> Try using "ssh -v" - it prints the steps it tries, and why it asks for a
> password instead of using the RSA keys.

I should have said that it faithfully told me what it was doing, but
did not explain why.

> 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.

Yes!!! Interesting: The man page "recommends" 600 permissions, but
does not say anything about the effect. However, I should have thought
about it. Thanks, Nadav!

> 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?

The latter.

-- 
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org 
"I'd rather write programs to write programs than write programs."

=================================================================
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