Re: [Hampshire] ssh without password

Page principale

Répondre à ce message
Auteur: Mark Johnson
Date:  
À: Hampshire LUG Discussion List
Sujet: Re: [Hampshire] ssh without password

> I've generated my keys on A and copied the public one over and appended it
> to authorized_keys2 on the B but still I'm being asked for a passphrase.
> I'm wrong somewhere - can't see where though. Is it permissions?


Have you made sure you're either calling ssh with the -i parameter and
specifying the identity file, or have ~/.ssh/config set up correctly on
the client? You'll want an entry looking something like this:

Host hostname
IdentityFile ~/.ssh/id_dsa
Port 22
User user

Hope that helps!
Mark