I'm trying to use ssh-keygen to generate a key for a remote Linux server for passwordless entry.

Unfortunately, it doesn't want to work: I keep having to enter a password.

I'm wondering if there's some OS 10.6 configuration setting that interferes with this.

I'm not using ssh-agent or other similar tools

link|improve this question

70% accept rate
feedback

2 Answers

Is the server setup properly for passwordless login. check /etc/ssh/sshd_config for

PubkeyAuthentication yes

Trying connecting with -v, -vv or -vvv

When you say keep having to enter the password, whats the exact message. It may be asking you to unlock the key to use it and if you don't have an agent it'll keep asking.

link|improve this answer
feedback

I recommend using a password on your key. You can use ssh-agent to avoid having to type the password so many times.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.