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

Re: ssh without password



On Wed, Aug 26, 2009 at 07:15:42PM -0400, James Richardson wrote:
> Eugene Apolinary wrote:
> > Hi...
> > 

[snip]

> > [B]
> > I copied the generated "id_rsa.pub" file to the [B] and:
> > 
> > cat id_rsa.pub >> /home/user/.ssh/authorized_keys
> > cat id_rsa.pub >> /home/user/.ssh/authorized_keys2
> > 

[snip]

> > total 16
> > drwx------  2 user user   69 2009-08-27 00:51 .
> > drwx------ 59 user user 4096 2009-08-27 00:53 ..
> > -rw-r--r--  1 user user  733 2009-08-27 00:51 authorized_keys
> > -rw-r--r--  1 user user  733 2009-08-27 00:51 authorized_keys2
> > -rw-r--r--  1 user user  442 2009-08-27 00:51 known_hosts
> > 
> > 
> The permission on authorized_keys should be 600. No group/other access.
> authorized_keys2, I think is not required (at least I don't seem to have
> it).

a better way to copy key around is to use 

ssh-copy-id

which comes with ssh

> 
> Also send the output of ssh -vv ... and we can better help.
> 
> Thanks.
> >       



-- 
Life is wasted on the living.
		-- The Restaurant at the Edge of the Universe.

Attachment: signature.asc
Description: Digital signature


Reply to: