Re: ssh

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

 



Hello, thanks for your replies.

Im afraid that doesnt work Craig, I am well aware of how to place the
ssh keys in but it is not working, and it seems to be shrike-specific.

Mike my permissions are 600

im using ssh version 2 with rsa keys, and they are in the right place
with the right names on the remote server. Is there something like and
SSH_PATH variable that i can set to tell sshd where to find the
authorized_keys file?

thanks again,

ivo

On Tue, 2004-03-09 at 16:45, Mike Burger wrote:
> 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