Douglas Lentz on 7 May 2004 17:52:03 -0000


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

[PLUG] sshd - why can't I cat my ssh_host_key?


I'm trying to get sshd running on various flavor boxes, cygwin and red hat.

When I go to my Red Hat 9 box and do an ls /etc/ssh* I get

-rw-------    1 root     root        88039 Feb 14  2003 moduli
-rw-r--r--    1 root     root         1167 Feb 14  2003 ssh_config
-rw-------    1 root     root         2474 Feb 14  2003 sshd_config
-rw-------    1 root     root          672 Oct 26  2003 ssh_host_dsa_key
-rw-r--r--    1 root     root          590 Oct 26  2003 ssh_host_dsa_key.pub
-rw-------    1 root     root          515 Oct 26  2003 ssh_host_key
-rw-r--r--    1 root     root          319 Oct 26  2003 ssh_host_key.pub
-rw-------    1 root     root          883 Oct 26  2003 ssh_host_rsa_key
-rw-r--r--    1 root     root          210 Oct 26  2003 ssh_host_rsa_key.pub


Looks like RH installed protocols 1 and 2 for me. OK, but if I do a cat /etc/ssh_host_key I get


"cat: ssh_host_key: No such file or directory".

Ditto for ls. I am su'd to root. Looks like root is the owner of ssh_host_key. What am I missing? Why can't I read it?

Thanks.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug