I have confirmed the fix using openssh 1:9.0p1-1ubuntu7.3 from kinetic-proposed:
Test 1:
root@kinetic:~# apt-cache policy openssh-server
openssh-server:
Installed: 1:9.0p1-1ubuntu7.3
Candidate: 1:9.0p1-1ubuntu7.3
Version table:
*** 1:9.0p1-1ubuntu7.3 500
500 http://archive.ubuntu.com/ubuntu kinetic-proposed/main amd64 Packages
100 /var/lib/dpkg/status
1:9.0p1-1ubuntu7.1 500
500 http://archive.ubuntu.com/ubuntu kinetic-updates/main amd64 Packages
1:9.0p1-1ubuntu7 500
500 http://archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
root@kinetic:~# ssh localhost
The authenticity of host 'localhost (::1)' can't be established.
ED25519 key fingerprint is SHA256:xmU0f5QuqvJ8GZVhZihANPUgBhUzvYo96entI7JuoRk.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.10 (GNU/Linux 6.2.0-20-generic x86_64)
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
Jun 02 13:48:58 kinetic systemd[1]: Starting OpenBSD Secure Shell server...
Jun 02 13:48:58 kinetic sshd[1013]: Server listening on :: port 22.
Jun 02 13:48:58 kinetic systemd[1]: Started OpenBSD Secure Shell server.
Jun 02 13:49:00 kinetic sshd[1014]: Accepted publickey for root from ::1 port 44690 ssh2: RSA SHA256:A+T8Yt6KxQdy0hmT8>
Jun 02 13:49:00 kinetic sshd[1014]: pam_unix(sshd:session): session opened for user root(uid=0) by (uid=0)
Jun 02 13:49:00 kinetic sshd[1014]: pam_env(sshd:session): deprecated reading of user environment enabled
Jun 02 13:49:26 kinetic systemd[1]: Reloading OpenBSD Secure Shell server...
Jun 02 13:49:26 kinetic sshd[1013]: Received SIGHUP; restarting.
Jun 02 13:49:26 kinetic systemd[1]: Reloaded OpenBSD Secure Shell server.
Jun 02 13:49:27 kinetic sshd[1013]: Server listening on :: port 22.
Test 2:
root@kinetic:~# vi /etc/default/ssh
root@kinetic:~# cat /etc/default/ssh
# Default settings for openssh-server. This file is sourced by /bin/sh from
# /etc/init.d/ssh.
# Options to pass to sshd
SSHD_OPTS=-ddd
root@kinetic:~# ssh localhost
Welcome to Ubuntu 22.10 (GNU/Linux 6.2.0-20-generic x86_64)
I have confirmed the fix using openssh 1:9.0p1-1ubuntu7.3 from kinetic-proposed:
Test 1:
root@kinetic:~# apt-cache policy openssh-server archive. ubuntu. com/ubuntu kinetic- proposed/ main amd64 Packages dpkg/status 9.0p1-1ubuntu7. 1 500 archive. ubuntu. com/ubuntu kinetic- updates/ main amd64 Packages 9.0p1-1ubuntu7 500 archive. ubuntu. com/ubuntu kinetic/main amd64 Packages xmU0f5QuqvJ8GZV hZihANPUgBhUzvY o96entI7JuoRk. [fingerprint] )? yes
openssh-server:
Installed: 1:9.0p1-1ubuntu7.3
Candidate: 1:9.0p1-1ubuntu7.3
Version table:
*** 1:9.0p1-1ubuntu7.3 500
500 http://
100 /var/lib/
1:
500 http://
1:
500 http://
root@kinetic:~# ssh localhost
The authenticity of host 'localhost (::1)' can't be established.
ED25519 key fingerprint is SHA256:
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.10 (GNU/Linux 6.2.0-20-generic x86_64)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/advantage
* Management: https:/
* Support: https:/
The programs included with the Ubuntu system are free software; doc/*/copyright .
the exact distribution terms for each program are described in the
individual files in /usr/share/
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@kinetic:~# systemctl reload ssh.service system/ ssh.service; disabled; preset: enabled) system/ ssh.service. d
└ ─00-socket. conf
/ run/systemd/ system/ service. d
└ ─zzz-lxc- service. conf
man: sshd_config( 5) /usr/sbin/ sshd -t (code=exited, status=0/SUCCESS) /usr/sbin/ sshd -t (code=exited, status=0/SUCCESS) /bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) slice/ssh. service
root@kinetic:~# systemctl status ssh.service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Drop-In: /etc/systemd/
Active: active (running) since Fri 2023-06-02 13:48:58 UTC; 42s ago
TriggeredBy: ● ssh.socket
Docs: man:sshd(8)
Process: 1012 ExecStartPre=
Process: 1046 ExecReload=
Process: 1047 ExecReload=
Main PID: 1013 (sshd)
Tasks: 1 (limit: 18854)
Memory: 3.2M
CPU: 94ms
CGroup: /system.
└─1013 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
Jun 02 13:48:58 kinetic systemd[1]: Starting OpenBSD Secure Shell server... A+T8Yt6KxQdy0hm T8> sshd:session) : session opened for user root(uid=0) by (uid=0) sshd:session) : deprecated reading of user environment enabled
Jun 02 13:48:58 kinetic sshd[1013]: Server listening on :: port 22.
Jun 02 13:48:58 kinetic systemd[1]: Started OpenBSD Secure Shell server.
Jun 02 13:49:00 kinetic sshd[1014]: Accepted publickey for root from ::1 port 44690 ssh2: RSA SHA256:
Jun 02 13:49:00 kinetic sshd[1014]: pam_unix(
Jun 02 13:49:00 kinetic sshd[1014]: pam_env(
Jun 02 13:49:26 kinetic systemd[1]: Reloading OpenBSD Secure Shell server...
Jun 02 13:49:26 kinetic sshd[1013]: Received SIGHUP; restarting.
Jun 02 13:49:26 kinetic systemd[1]: Reloaded OpenBSD Secure Shell server.
Jun 02 13:49:27 kinetic sshd[1013]: Server listening on :: port 22.
Test 2:
root@kinetic:~# vi /etc/default/ssh
root@kinetic:~# cat /etc/default/ssh
# Default settings for openssh-server. This file is sourced by /bin/sh from
# /etc/init.d/ssh.
# Options to pass to sshd
SSHD_OPTS=-ddd
root@kinetic:~# ssh localhost
Welcome to Ubuntu 22.10 (GNU/Linux 6.2.0-20-generic x86_64)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/advantage set_uid: 0/0 DIR=/run/ user/0 BUS_ADDRESS= unix:path= /run/user/ 0/bus TYPE=tty CLASS=user local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ games:/ usr/local/ games:/ snap/bin /usr/local/ sbin:/usr/ local/bin: /usr/sbin: /usr/bin: /sbin:/ bin:/usr/ games:/ usr/local/ games:/ snap/bin xterm-256color ID=104 DIR=/run/ user/0 SESSION_ BUS_ADDRESS= unix:path= /run/user/ 0/bus TYPE=tty CLASS=user N=::1 47582 ::1 22 /dev/pts/ 2 system/ ssh.service; disabled; preset: enabled) system/ ssh.service. d
└ ─00-socket. conf
/ run/systemd/ system/ service. d
└ ─zzz-lxc- service. conf
man: sshd_config( 5) /usr/sbin/ sshd -t (code=exited, status=0/SUCCESS) slice/ssh. service
* Management: https:/
* Support: https:/
Last login: Fri Jun 2 13:49:00 2023 from ::1
debug1: PAM: reinitializing credentials
debug1: permanently_
debug3: Copy environment: XDG_SESSION_ID=104
debug3: Copy environment: XDG_RUNTIME_
debug3: Copy environment: DBUS_SESSION_
debug3: Copy environment: XDG_SESSION_
debug3: Copy environment: XDG_SESSION_
debug3: Copy environment: PATH=/usr/
debug3: Copy environment: LANG=en_US.UTF-8
Environment:
LANG=en_US.UTF-8
USER=root
LOGNAME=root
HOME=/root
PATH=
SHELL=/bin/bash
TERM=
XDG_SESSION_
XDG_RUNTIME_
DBUS_
XDG_SESSION_
XDG_SESSION_
SSH_CLIENT=::1 47582 22
SSH_CONNECTIO
SSH_TTY=
root@kinetic:~# systemctl status ssh.service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Drop-In: /etc/systemd/
Active: active (running) since Fri 2023-06-02 13:56:50 UTC; 6s ago
TriggeredBy: ● ssh.socket
Docs: man:sshd(8)
Process: 142 ExecStartPre=
Main PID: 143 (sshd)
Tasks: 0 (limit: 18854)
Memory: 1.8M
CPU: 42ms
CGroup: /system.
‣ 143 "sshd: root@pts/2"
Jun 02 13:56:51 kinetic sshd[143]: debug1: server_ input_channel_ req: channel 0 request shell reply 1 input_channel_ req: session 0 req shell
Jun 02 13:56:51 kinetic sshd[143]: debug1: session_by_channel: session 0 channel 0
Jun 02 13:56:51 kinetic sshd[143]: debug1: session_
Jun 02 13:56:51 kinetic sshd[143]: Starting session: shell on pts/2 for root from ::1 port 47582 id 0
Jun 02 13:56:51 kinetic sshd[143]: debug2: fd 4 setting TCP_NODELAY
Jun 02 13:56:51 kinetic sshd[143]: debug3: set_sock_tos: set socket 4 IPV6_TCLASS 0x10
Jun 02 13:56:51 kinetic sshd[143]: debug2: channel 0: rfd 10 isatty
Jun 02 13:56:51 kinetic sshd[143]: debug2: fd 10 setting O_NONBLOCK
Jun 02 13:56:51 kinetic sshd[143]: debug3: fd 7 is O_NONBLOCK
Jun 02 13:56:51 kinetic sshd[143]: debug3: send packet: type 99