Re: OpenSSH version question

From: Bigdakine (bigdakine@aol.comGetaGrip)
Date: 01/30/02


From: bigdakine@aol.comGetaGrip (Bigdakine)
Date: 30 Jan 2002 03:03:59 GMT


>Subject: OpenSSH version question
>From: viscido@u.washington.edu
>Date: 1/29/02 9:33 AM Hawaiian Standard Time
>Message-id: <m3hep5ar62.fsf@fiddler.u.washington.edu>
>
>
>I'm using OpenSSH 2.5 or 2.9 on various Linux machines. SSH itself
>works OK, but with 2.9, whenever I try to start sshd, I get a wierd
>message:
>
>Cannot read host key file. Disabling version 2.
>
>Then when the 2.5 machines try to connect via SFTP, I get a "version
>mismatch" error.
>
>Now, I have all the appropriate host key files in /etc/ssh. I thought
>that perhaps there needed to be an /etc/ssh2 directory with similar
>files for version 2 to be enabled, so I did that, and made some host
>key files there as well. That doesn't seem to have helped. Invoking
>sshd with -d (debugging) gave exactly the same error message with
>(sadly) no indication of what files it's looking for. For fun, I even
>built some ssh2_host_key type files, thinking maybe it was looking for
>that, and no dice. Here are the files that the host machine has in
>/etc/ssh (/etc/ssh2 is identical):
>
>-rw------- 1 root root 26287 Dec 3 12:22 primes
>-rw------- 1 root root 525 Jan 29 03:17 ssh2_host_dsa_key
>-rw-r--r-- 1 root root 329 Jan 29 03:17 ssh2_host_dsa_key.pub
>-rw------- 1 root root 525 Jan 29 03:17 ssh2_host_key
>-rw-r--r-- 1 root root 329 Jan 29 03:17 ssh2_host_key.pub
>-rw------- 1 root root 525 Jan 29 03:17 ssh2_host_rsa_key
>-rw-r--r-- 1 root root 329 Jan 29 03:17 ssh2_host_rsa_key.pub
>-rw-r--r-- 1 root root 1545 Jan 21 04:43 ssh_config
>-rw------- 1 root root 1771 Dec 3 12:22 sshd_config
>-rw------- 1 root root 525 Jan 18 02:56 ssh_host_dsa_key
>-rw-r--r-- 1 root root 329 Jan 18 02:56 ssh_host_dsa_key.pub
>-rw------- 1 root root 525 Jan 18 02:56 ssh_host_key
>-rw-r--r-- 1 root root 329 Jan 18 02:56 ssh_host_key.pub
>-rw------- 1 root root 525 Jan 18 02:56 ssh_host_rsa_key
>-rw-r--r-- 1 root root 329 Jan 18 02:56 ssh_host_rsa_key.pub
>
>Any ideas on what sort of other host key file(s) might be missing?
>None of my other machines running ssh (2.5) has anything different and
>they all can talk to each other.
>
>Steve
>
>--
>Steven Viscido [viscido@u.washington.edu]
>Department of Zoology, Box 351800 Kincaid Hall
>University of Washington
>Seattle, WA 98195 Tel: 206-221-6893
>
>
Look in the sshd_config file and see where sshd will be looking for the keys..

Stuart
>
>
>
>

Dr. Stuart A. Weinstein
Ewa Beach Institute of Tectonics
"To err is human, but to really foul things up
requires a creationist"



Relevant Pages

  • Re: Did I give up on telnet too easily?
    ... > If ssh is to be considered 'more secure' than telnet, ... have a mixture of Debian, Red Hat, Trustix, Tru64 Unix, and HP-UX machines. ... theirs isn't OpenSSH based, so it wouldn't have needed updating). ... > etc.) I think a better approach would be to use telnet for remote access. ...
    (comp.os.linux.networking)
  • Re: Did I give up on telnet too easily?
    ... > If ssh is to be considered 'more secure' than telnet, ... have a mixture of Debian, Red Hat, Trustix, Tru64 Unix, and HP-UX machines. ... theirs isn't OpenSSH based, so it wouldn't have needed updating). ... > etc.) I think a better approach would be to use telnet for remote access. ...
    (comp.os.linux.security)
  • weird ssh problem under OS X 10.3.6
    ... I've recently experienced an unusual problem with ssh on both ... of my OS X machines. ... Apple Security Update and also an upgrade to openssh by way of fink. ...
    (comp.security.ssh)
  • OpenSSH version question
    ... I'm using OpenSSH 2.5 or 2.9 on various Linux machines. ... SSH itself ... works OK, but with 2.9, whenever I try to start sshd, I get a wierd ... I have all the appropriate host key files in /etc/ssh. ...
    (comp.security.ssh)
  • Re: Question on SSH configuration in a cluster environment.
    ... >> connect via ssh because of the changed host key. ... > nodes of the cluster. ... > phrased private key that's generated when ssh is first installed. ... simply duplicate the hostkeys among all the machines. ...
    (comp.security.ssh)