[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
(my mistake). 

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...? :-) 
> Best,
> Kjetil
> -- 
> Kjetil Kjernsmo
> Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
> kjetil@kjernsmo.net  webmaster@skepsis.no  editor@learn-orienteering.org
> Homepage: http://www.kjetil.kjernsmo.net/        OpenPGP KeyID: 6A6A0BBC
> -- 
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: