Paul.L.Snyder on 7 May 2004 18:06:02 -0000


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

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


"Douglas Lentz" <dlentz@dca.net> wrote on 05/07/2004 01:23:35 PM:

> When I go to my Red Hat 9 box and do an ls /etc/ssh* I get
[...]
> 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?

Because there is no /etc/ssh_host_key - ls isn't giving you the whole
picture.  Try:

  ls -dF /etc/ssh*

and

  ls -dF /etc/ssh/*

pls



___________________________________________________________________________
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