Today's fun was seeing if ssh 8.1 worked.. It does not. It can not load the KEYS, it appears to be an issue with openssl 1.1
# /usr/sgug/sbin/sshd -ddd
debug2: load_server_config: filename /usr/sgug/etc/ssh/sshd_config
debug2: load_server_config: done config len = 668
debug2: parse_server_config: config /usr/sgug/etc/ssh/sshd_config len 668
debug3: /usr/sgug/etc/ssh/sshd_config:17 setting Port 2222
debug3: /usr/sgug/etc/ssh/sshd_config:22 setting HostKey /usr/sgug/etc/ssh/ssh_host_rsa_key
debug3: /usr/sgug/etc/ssh/sshd_config:23 setting HostKey /usr/sgug/etc/ssh/ssh_host_ecdsa_key
debug3: /usr/sgug/etc/ssh/sshd_config:24 setting HostKey /usr/sgug/etc/ssh/ssh_host_ed25519_key
debug3: /usr/sgug/etc/ssh/sshd_config:54 setting AuthorizedKeysFile .ssh/authorized_keys
debug3: /usr/sgug/etc/ssh/sshd_config:72 setting PasswordAuthentication yes
debug3: /usr/sgug/etc/ssh/sshd_config:76 setting ChallengeResponseAuthentication no
debug3: /usr/sgug/etc/ssh/sshd_config:102 setting X11Forwarding yes
debug3: /usr/sgug/etc/ssh/sshd_config:109 setting PrintMotd no
debug3: /usr/sgug/etc/ssh/sshd_config:128 setting AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
debug3: /usr/sgug/etc/ssh/sshd_config:129 setting AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
debug3: /usr/sgug/etc/ssh/sshd_config:130 setting AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
debug3: /usr/sgug/etc/ssh/sshd_config:131 setting AcceptEnv XMODIFIERS
debug3: /usr/sgug/etc/ssh/sshd_config:134 setting Subsystem sftp /usr/sgug/libexec/openssh/sftp-server
debug1: sshd version OpenSSH_8.1, OpenSSL 1.1.1d FIPS 10 Sep 2019
Unable to load host key: /usr/sgug/etc/ssh/ssh_host_rsa_key
Unable to load host key: /usr/sgug/etc/ssh/ssh_host_ecdsa_key
Unable to load host key: /usr/sgug/etc/ssh/ssh_host_ed25519_key
sshd: no hostkeys available -- exiting.
# ls -al ssh*
-rw-r--r-- 1 root sys 1687 Apr 26 15:10 ssh_config
-rw------- 1 root sys 1405 Jun 18 12:09 ssh_host_dsa_key
-rw-r--r-- 1 root sys 616 Jun 18 12:09 ssh_host_dsa_key.pub
-rw------- 1 root sys 748 Jun 18 11:51 ssh_host_ecdsa_key
-rw-r--r-- 1 root sys 280 Jun 18 11:51 ssh_host_ecdsa_key.pub
-rw------- 1 root sys 419 Jun 18 11:48 ssh_host_ed25519_key
-rw-r--r-- 1 root sys 108 Jun 18 11:48 ssh_host_ed25519_key.pub
-rw------- 1 root sys 3401 Jun 18 11:49 ssh_host_rsa_key
-rw-r--r-- 1 root sys 752 Jun 18 11:49 ssh_host_rsa_key.pub
-rw------- 1 root sys 4275 Jun 18 11:42 sshd_config
I also commented out
#UsePAM no
#GSSAPIAuthentication yes
#GSSAPICleanupCredentials no
Because it was not compiled with support.
-Mike
Mailing List Archive: [Bug 3032] (Fixable) MIPSPro compilation errors, failing regression test in test_sshbuf_misc.c & sshd host key loading issues on IRIX 6.5
Gossamer Mailing List Archive
lists.gt.net
# /usr/sgug/sbin/sshd -ddd
debug2: load_server_config: filename /usr/sgug/etc/ssh/sshd_config
debug2: load_server_config: done config len = 668
debug2: parse_server_config: config /usr/sgug/etc/ssh/sshd_config len 668
debug3: /usr/sgug/etc/ssh/sshd_config:17 setting Port 2222
debug3: /usr/sgug/etc/ssh/sshd_config:22 setting HostKey /usr/sgug/etc/ssh/ssh_host_rsa_key
debug3: /usr/sgug/etc/ssh/sshd_config:23 setting HostKey /usr/sgug/etc/ssh/ssh_host_ecdsa_key
debug3: /usr/sgug/etc/ssh/sshd_config:24 setting HostKey /usr/sgug/etc/ssh/ssh_host_ed25519_key
debug3: /usr/sgug/etc/ssh/sshd_config:54 setting AuthorizedKeysFile .ssh/authorized_keys
debug3: /usr/sgug/etc/ssh/sshd_config:72 setting PasswordAuthentication yes
debug3: /usr/sgug/etc/ssh/sshd_config:76 setting ChallengeResponseAuthentication no
debug3: /usr/sgug/etc/ssh/sshd_config:102 setting X11Forwarding yes
debug3: /usr/sgug/etc/ssh/sshd_config:109 setting PrintMotd no
debug3: /usr/sgug/etc/ssh/sshd_config:128 setting AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
debug3: /usr/sgug/etc/ssh/sshd_config:129 setting AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
debug3: /usr/sgug/etc/ssh/sshd_config:130 setting AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
debug3: /usr/sgug/etc/ssh/sshd_config:131 setting AcceptEnv XMODIFIERS
debug3: /usr/sgug/etc/ssh/sshd_config:134 setting Subsystem sftp /usr/sgug/libexec/openssh/sftp-server
debug1: sshd version OpenSSH_8.1, OpenSSL 1.1.1d FIPS 10 Sep 2019
Unable to load host key: /usr/sgug/etc/ssh/ssh_host_rsa_key
Unable to load host key: /usr/sgug/etc/ssh/ssh_host_ecdsa_key
Unable to load host key: /usr/sgug/etc/ssh/ssh_host_ed25519_key
sshd: no hostkeys available -- exiting.
# ls -al ssh*
-rw-r--r-- 1 root sys 1687 Apr 26 15:10 ssh_config
-rw------- 1 root sys 1405 Jun 18 12:09 ssh_host_dsa_key
-rw-r--r-- 1 root sys 616 Jun 18 12:09 ssh_host_dsa_key.pub
-rw------- 1 root sys 748 Jun 18 11:51 ssh_host_ecdsa_key
-rw-r--r-- 1 root sys 280 Jun 18 11:51 ssh_host_ecdsa_key.pub
-rw------- 1 root sys 419 Jun 18 11:48 ssh_host_ed25519_key
-rw-r--r-- 1 root sys 108 Jun 18 11:48 ssh_host_ed25519_key.pub
-rw------- 1 root sys 3401 Jun 18 11:49 ssh_host_rsa_key
-rw-r--r-- 1 root sys 752 Jun 18 11:49 ssh_host_rsa_key.pub
-rw------- 1 root sys 4275 Jun 18 11:42 sshd_config
I also commented out
#UsePAM no
#GSSAPIAuthentication yes
#GSSAPICleanupCredentials no
Because it was not compiled with support.
-Mike