<leleobhz> ive installed freebsd 7 in a server, and since first boot ive got trouble with ssh
<leleobhz> http://pastebin.ca/951603
<leleobhz> this is a connection from original ssh and from openssh client
<leleobhz> (upside == original, downside == ports/openssh)
<leleobhz> from sshd is the same
<leleobhz> no one openssh client can connect to it
<leleobhz> putty can do
<leleobhz> openssh tellme sshd have a invalid ssh version
<leleobhz> sshd from openssh: sshd version OpenSSH_3.6.1
<leleobhz> original: , OpenSSL 0.9.8e 23 Feb 2007
<leleobhz> ssh original: , OpenSSL 0.9.8e 23 Feb 2007
<leleobhz> openssh client: OpenSSH_3.6.1, SSH protocols 1.5/2.0, OpenSSL 0x0090805f
<leleobhz> i really dont know what to do
Rest of trouble:
[root@betty ~]# /usr/sbin/sshd -V
sshd: illegal option -- V
, OpenSSL 0.9.8e 23 Feb 2007
usage: sshd [-46Ddeiqt] [-b bits] [-f config_file] [-g login_grace_time]
[-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]
[root@betty ~]# /usr/local/sbin/sshd -V
sshd: option requires an argument -- V
sshd version OpenSSH_3.6.1
Usage: sshd [options]
Options:
-f file Configuration file (default /usr/local/etc/ssh/sshd_config)
-d Debugging mode (multiple -d means more debugging)
-i Started from inetd
-D Do not fork into daemon mode
-t Only test configuration file and keys
-q Quiet (no logging)
-p port Listen on the specified port (default: 22)
-k seconds Regenerate server key every this many seconds (default: 3600)
-g seconds Grace period for authentication (default: 600)
-b bits Size of server RSA key (default: 768 bits)
-h file File from which to read host key (default: /usr/local/etc/ssh/ssh_host_key)
-u len Maximum hostname length for utmp recording
-4 Use IPv4 only
-6 Use IPv6 only
-o option Process the option as if it was read from a configuration file.
[root@betty ~]# /usr/bin/ssh -V
, OpenSSL 0.9.8e 23 Feb 2007
[root@betty ~]# /usr/local/bin/ssh -V
OpenSSH_3.6.1, SSH protocols 1.5/2.0, OpenSSL 0x0090805f
[root@betty ~]# ls -la /usr/bin/ssh /usr/local/bin/ssh /usr/sbin/sshd /usr/local/sbin/sshd
-rwxr-xr-x 1 root wheel 251860 Feb 24 14:53 /usr/bin/ssh
-r-xr-xr-x 2 root wheel 198452 Mar 12 21:59 /usr/local/bin/ssh
-r-xr-xr-x 1 root wheel 246472 Mar 12 21:59 /usr/local/sbin/sshd
-rwxr-xr-x 1 root wheel 302956 Feb 29 22:49 /usr/sbin/sshd