I'm working out a custom SSH server that only accepts a single SSH public key and accepts neither keyboard nore challenge login. I've got the server started, but my client just immediately disconnects. See the log
OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f 31 Mar 2020 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files debug1: /etc/ssh/ssh_config line 21: Applying options for * debug1: Connecting to localhost [127.0.0.1] port 2022. debug1: Connection established. debug1: identity file id_rsa type 0 debug1: identity file id_rsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1 debug1: Remote protocol version 2.0, remote software version APACHE-SSHD-2.6.0 debug1: no match: APACHE-SSHD-2.6.0 debug1: Authenticating to localhost:2022 as 'ptwohig' debug1: SSH2_MSG_KEXINIT sent I'm a little bit stumped on this one. What should I look at next?