Hi All,
After a dist-upgrade and reboot the ssh server on my OSMC/RPi3 has started putting out the MOTD and then disconnecting. Stopping/restarting the ssh server has no effect. sshd_conf has 'PrintMotd no' and now 'PrintLastLog no' from 'PrintLastLog yes'. This second has had an effect. In /var/cache/apt/archives I have ssh-app-osmc_1.2.0_all.deb and ditto _1.2.2_
Putty log here:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.10.07 22:35:28 =~=~=~=~=~=~=~=~=~=~=~= Using username "root". Authenticating with public key "rsa-key-20140301"
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Oct 7 22:32:47 2017 from 192.168.13.1
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.10.08 09:17:08 =~=~=~=~=~=~=~=~=~=~=~= Using username "root". Authenticating with public key "rsa-key-20140301"
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
As you can see, putting 'PrintLastLog no' has removed the 'Last login' line.
On another machine, with 'ssh -vv', I get the MOTD followed by 'No Mail' and then:
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. No mail. debug2: channel 0: rcvd eof debug2: channel 0: output open -> drain debug2: channel 0: obuf empty debug2: channel 0: close_write debug2: channel 0: output drain -> closed debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype snipped-for-privacy@openssh.com reply 0 debug2: channel 0: rcvd eow debug2: channel 0: close_read debug2: channel 0: input open -> closed debug2: channel 0: rcvd close debug2: channel 0: almost dead debug2: channel 0: gc: notify user debug2: channel 0: gc: user detached debug2: channel 0: send close debug2: channel 0: is dead debug2: channel 0: garbage collecting debug1: channel 0: free: client-session, nchannels 1 debug1: fd 1 clearing O_NONBLOCK Connection to 192.168.13.11 closed. Transferred: sent 3076, received 2132 bytes, in 0.1 seconds Bytes per second: sent 35388.9, received 24528.3 debug1: Exit status 254
Anyone else with this problem? Anyone with any ideas?