|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] sshd - why can't I cat my ssh_host_key?
|
When you do ls /etc/ssh* you're getting the contents in
/etc/ssh/, so the file you're looking for is /etc/ssh/ssh_host_key. If
you ran "ls -d /etc/ssh*" you'd see that it's a directory you're hitting.
Aaron
On Fri, 7 May 2004, Douglas Lentz wrote:
> 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
>
___________________________________________________________________________
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
|
|