Re: Public key authentication troubles

From: DharmaFog (DharmaFog_at_VirtualMachines.COM)
Date: 05/23/04


Date: Sat, 22 May 2004 15:06:37 -0700

Nicolas Bertolotti wrote:
> Hi,
>
> I'm facing troubles while trying to activate connection without a password
> on a specific linux box.
>
> I've generated the keys using ssh-keygen -t rsa1
> I've then copied the public key to authorized_keys : cp .ssh/identity.pub
> .ssh/authorized_keys
> I've also changed the permissions : chmod go-rwx .ssh
>

It's not clear what you're doing. You should be generating a key pair
on the "source" machine and then transfering the public key to the
authorized_keys file on the "target" machine (the machine you're trying
to connect to.



Relevant Pages

  • Re: Public key authentication troubles
    ... >I'm facing troubles while trying to activate connection without a password ... >on a specific linux box. ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • ssh authorized_keys bypasses security?
    ... ssh-keygen to produce a key pair, and inserted the public key of each into ... the .ssh/authorized_keys file on a certain linux account. ... So the net result is that several hosts gain access to one account on the ...
    (comp.os.linux.security)