Re: ssh

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

 



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


-- 
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