Re: Passwordless Authentication (was Re: How to reduce sid security)
Pn, 2003-08-01 12:04, Kjetil Kjernsmo rašė:
> On Friday 01 August 2003 04:10, Peter Cordes wrote:
> > You should use ssh-keygen to create a keypair on each machine, and
> > copy the public key from the machine you generated it on to the other
> > machine. This allows quick passwordless authentication.
Thats right. But sometimes ssh connection realy fails. One of reason I
found was $HOME and $HOME/.ssh permisions (seems, that at least one of
them should not be world readable).
Some times there are problems when connecting between commercial ssh and
Another problem was restricted users-hosts pairs in /etc/ssh/sshd_config
And the last - disabled publickey authentification (also my mistake).
You can try ssh -v user@remote_host and look for very very verbose debug
> I've tried to do this many times, but I've failed... Is there a Very
> Verbose Guide to Passwordless Authentication with SSH somewhere...? :-)
> Kjetil Kjernsmo
> Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
> email@example.com firstname.lastname@example.org email@example.com
> Homepage: http://www.kjetil.kjernsmo.net/ OpenPGP KeyID: 6A6A0BBC
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com