Date: Mon, 6 May 2002 17:54:58 +0200 From: "[brano]" <brano@zahrobie.sk> To: <freebsd-security@FreeBSD.ORG> Subject: openssh problem Message-ID: <02d301c1f516$63cab840$c28c630a@bb.ubp.sk> References: <OE64AAkjtjsX3Ra5cNt000073cd@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I have FreeBSD 4.5-RELEASE I downloaded newest ports and install openssh (version 3.1) When I generate new keys for openssh with 4096 bits, I can't connect to server (if I generate keys with 2048 bits, it's working good) I modified /etc/rc.network case ${sshd_enable} in [Yy][Ee][Ss]) if [ ! -f /etc/ssh/ssh_host_key ]; then echo ' creating ssh RSA host key'; /usr/bin/ssh-keygen -t rsa1 -b 4096 -N "" -f /etc/ssh/ssh_host_key fi if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then echo ' creating ssh DSA host key'; /usr/bin/ssh-keygen -d -b 4096 -N "" -f /etc/ssh/ssh_host_dsa_key fi if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then echo ' creating ssh RSA host key'; /usr/bin/ssh-keygen -t rsa -b 4096 -N "" -f /etc/ssh/ssh_host_rsa_key fi ;; esac I modified /etc/ssh/sshd_config remove support for ssh1 and allow only ssh2 when I use SecureCRT 3.4.3 or PenguinNet 1.21, I found this error in /var/log/authlog May 6 16:31:26 temne sshd[259]: Received disconnect from xxx.xxx.xxx.xxx: 9: Corrupt or nonexistent host key or al gorithm.^M I use normal username and password via keyboard, any keys or other authentication methods. Have anyone some idea why it doesn't work ? Thanks Brano from Slovakia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02d301c1f516$63cab840$c28c630a>