Re: ssh

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

 



What are the permissions on ~user/.ssh/authorized_keys?

They should be, at most, 700 (rwx------).

On Tue, 9 Mar 2004, Craig White wrote:

> On Tue, 2004-03-09 at 06:31, Ivo Mencke wrote:
> > Hello folks,
> > 
> > I have a problem on redhat9 with ssh. With the default install I dont
> > seem to be able to manage key based authentication.
> > 
> > ie: i copy the id_rsa.pub to the remote redhat9 host and rename it into
> > the same users home directory/.ssh/authorized_keys
> > 
> > so i am coming from redhat 7.2 to redhat 9. 
> > 
> > This works perfectly for a remote redhat 7.2 (a lot of our older boxes
> > here) and under freebsd. I can login with no password using the keys.
> > 
> > am in missing something in sshd_config? because i cant see it.
> ----
> procedure that I have written down...
> 
> $ ssh-keygen
> <dialogue>
> $ ssh-keygen -t rsa
> <dialogue>
> $ ssh-keygen -t dsa
> <dialogue>
> $ scp ~/.ssh/*.pub you@xxxxxxxxxxxxxx:tmp
> Password:
> <scp output>
> $ ssh you@xxxxxxxxxxxxxx
> Password:
> remote$ cat ~/tmp/identity.pub >> ~/.ssh/authorized_keys
> remote$ cat ~/tmp/id_{r,d}sa.pub >> ~/.ssh/authorized_keys2
> remote$ chmod 600 ~/.ssh/authorized_keys{,2}
> remote$ exit
> $ ssh you@xxxxxxxxxxxxxx
> remote$
> 
> Craig
> 
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux