Today's new kernel and sshd not always starting.
On 27.05.2024 19:58, Larry Len Rainey wrote:
Any idea why on some Leap 15.5 with 5.14.21-150500.55.65-default kernel the sshd is not starting and getting this error - it runs fine after*systemctl restart sshd *:
# systemctl status sshd ● sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor pres> Active: active (running) since Mon 2024-05-27 10:16:58 CDT; 1h 9min ago Process: 778 ExecStartPre=/usr/sbin/sshd-gen-keys-start (code=exited, statu> Process: 863 ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS (code=exited, status>
All log lines are truncated.
Main PID: 891 (sshd) Tasks: 1 CGroup: /system.slice/sshd.service └─ 891 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
May 27 11:17:34 LLR8 sshd[24681]:error: kex_input_kexinit: discard proposal: s> May 27 11:17:34 LLR8 sshd[24681]: ssh_dispatch_run_fatal: Connection from 192.1> Notice: journal has been rotated since unit was started, output may be incomple> ...skipping... ● sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor pres> Active: active (running) since Mon 2024-05-27 10:16:58 CDT; 1h 9min ago Process: 778 ExecStartPre=/usr/sbin/sshd-gen-keys-start (code=exited, statu> Process: 863 ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS (code=exited, status> Main PID: 891 (sshd) Tasks: 1 CGroup: /system.slice/sshd.service └─ 891 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
May 27 11:17:34 LLR8 sshd[24681]: error: kex_input_kexinit: discard proposal: s> May 27 11:17:34 LLR8 sshd[24681]: ssh_dispatch_run_fatal: Connection from 192.1> Notice: journal has been rotated since unit was started, output may be incomple> ~
May 27 11:17:34 LLR8 sshd[24681]: error: kex_input_kexinit: discard proposal: string is too large [preauth] May 27 11:17:34 LLR8 sshd[24681]: ssh_dispatch_run_fatal: Connection from 192.168.20.244 port 52648: string is too large [preauth] these are the two error lines - they only happen the 1st reboot - all other reboots work fine. On Mon, May 27, 2024 at 1:08 PM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
Any idea why on some Leap 15.5 with 5.14.21-150500.55.65-default kernel
On 27.05.2024 19:58, Larry Len Rainey wrote: the sshd
is not starting and getting this error - it runs fine after*systemctl restart sshd *:
# systemctl status sshd ● sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor pres> Active: active (running) since Mon 2024-05-27 10:16:58 CDT; 1h 9min ago Process: 778 ExecStartPre=/usr/sbin/sshd-gen-keys-start (code=exited, statu> Process: 863 ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS (code=exited, status>
All log lines are truncated.
Main PID: 891 (sshd) Tasks: 1 CGroup: /system.slice/sshd.service └─ 891 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100
startups"
May 27 11:17:34 LLR8 sshd[24681]:error: kex_input_kexinit: discard
May 27 11:17:34 LLR8 sshd[24681]: ssh_dispatch_run_fatal: Connection from 192.1> Notice: journal has been rotated since unit was started, output may be incomple> ...skipping... ● sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor pres> Active: active (running) since Mon 2024-05-27 10:16:58 CDT; 1h 9min ago Process: 778 ExecStartPre=/usr/sbin/sshd-gen-keys-start (code=exited, statu> Process: 863 ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS (code=exited, status> Main PID: 891 (sshd) Tasks: 1 CGroup: /system.slice/sshd.service └─ 891 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
May 27 11:17:34 LLR8 sshd[24681]: error: kex_input_kexinit: discard
proposal: s> proposal: s>
May 27 11:17:34 LLR8 sshd[24681]: ssh_dispatch_run_fatal: Connection from 192.1> Notice: journal has been rotated since unit was started, output may be incomple> ~
Post executed as root: journalctl -u sshd Am Montag, 27. Mai 2024, 20:57:12 CEST schrieb Larry Rainey:
May 27 11:17:34 LLR8 sshd[24681]: error: kex_input_kexinit: discard proposal: string is too large [preauth] May 27 11:17:34 LLR8 sshd[24681]: ssh_dispatch_run_fatal: Connection from 192.168.20.244 port 52648: string is too large [preauth]
these are the two error lines - they only happen the 1st reboot - all other reboots work fine.
On Mon, May 27, 2024 at 1:08 PM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
Any idea why on some Leap 15.5 with 5.14.21-150500.55.65-default kernel
On 27.05.2024 19:58, Larry Len Rainey wrote: the sshd
is not starting and getting this error - it runs fine after*systemctl restart sshd *:
# systemctl status sshd ● sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor pres> Active: active (running) since Mon 2024-05-27 10:16:58 CDT; 1h 9min ago Process: 778 ExecStartPre=/usr/sbin/sshd-gen-keys-start (code=exited, statu> Process: 863 ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS (code=exited, status>
All log lines are truncated.
Main PID: 891 (sshd) Tasks: 1 CGroup: /system.slice/sshd.service └─ 891 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100
startups"
May 27 11:17:34 LLR8 sshd[24681]:error: kex_input_kexinit: discard
May 27 11:17:34 LLR8 sshd[24681]: ssh_dispatch_run_fatal: Connection from 192.1> Notice: journal has been rotated since unit was started, output may be incomple> ...skipping... ● sshd.service - OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor pres> Active: active (running) since Mon 2024-05-27 10:16:58 CDT; 1h 9min ago Process: 778 ExecStartPre=/usr/sbin/sshd-gen-keys-start (code=exited, statu> Process: 863 ExecStartPre=/usr/sbin/sshd -t $SSHD_OPTS (code=exited, status> Main PID: 891 (sshd) Tasks: 1 CGroup: /system.slice/sshd.service └─ 891 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
May 27 11:17:34 LLR8 sshd[24681]: error: kex_input_kexinit: discard
proposal: s> proposal: s>
May 27 11:17:34 LLR8 sshd[24681]: ssh_dispatch_run_fatal: Connection from 192.1> Notice: journal has been rotated since unit was started, output may be incomple> ~
participants (4)
-
Andrei Borzenkov
-
Larry Len Rainey
-
Larry Rainey
-
Stephan Hemeier