Re: OpenSSH version question
From: Bigdakine (bigdakine@aol.comGetaGrip)Date: 01/30/02
- Next message: Mike Iglesias: "Re: "Don't panic"?"
- Previous message: Nico Kadel-Garcia: "Re: Solaris NIS+ authentication and ssh 3.1.0"
- In reply to: viscido@u.washington.edu: "OpenSSH version question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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"
- Next message: Mike Iglesias: "Re: "Don't panic"?"
- Previous message: Nico Kadel-Garcia: "Re: Solaris NIS+ authentication and ssh 3.1.0"
- In reply to: viscido@u.washington.edu: "OpenSSH version question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|