ssh-keygen with no passphrase
Jonathan Baron
baron at psych.upenn.edu
Tue May 4 16:41:28 UTC 2004
On 05/01/04 19:46, William Hooper wrote:
>
>Jonathan Baron said:
>> In several versions of RedHat and with Fedora Core 1, I've been
>> able to use ssh-keygen to make a public key without a passphrase,
>[snip]
>> This has stopped working in Fedora Core 2 test 2 and test 3.
>[snip]
>
>Works for me. Have you double checked the permissions on authorized_keys?
> If those are OK, try running the SSH server in debug mode and see what it
>says.
Actually, debug mode didn't help much, but looking at
/var/log/secure showed right away that permissions was the
problem.
I had checked the permissions many times, and they were the same as
on my old computers. However, I finally discovered that they are
supposed to be:
chmod 700 .ssh
chmod 600 .ssh/*
and it seems that this rule is now being enforced. (I don't know
what the range of possibilities is, but these work.)
Thanks. Jon
--
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page: http://www.sas.upenn.edu/~baron
More information about the test
mailing list