Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

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.

share|improve this answer

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

share|improve this answer

The password your entering is actually the passphrase for your public key.

I posted with similar concerns not too long ago. read up.

SSH Keys Still Prompts for Passphrase

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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