Article 5KJ22 SSH connection closing after succesful login (SCP works fine)

SSH connection closing after succesful login (SCP works fine)

by
AlexSmart
from LinuxQuestions.org on (#5KJ22)
My Debian server worked perfectly until I tried to install Unifi controller software from ubiquity (which required mongodb, java hotspot), after I lost normal ssh connection. SSH connection closing by server after succsefull login imediately. WinSCP still works fine.
Tried:
  • removing softwsre I installed
  • reinstalling SSH
  • logging with different users
  • making a connection from localhost with debug output:
Code:Linux HomeServer 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64

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 Jun 26 08:07:39 2021 from ::1
debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug2: channel 0: rcvd eow
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
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
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
Connection to localhost closed.
Transferred: sent 3860, received 3288 bytes, in 2.7 seconds
Bytes per second: sent 1414.8, received 1205.1
debug1: Exit status -1Also checked different posts on same subjuct, no luck. Completely lost now...latest?d=yIl2AUoC8zA latest?i=zeDztXA97cY:2PBqEinTAGE:F7zBnMy latest?i=zeDztXA97cY:2PBqEinTAGE:V_sGLiP latest?d=qj6IDK7rITs latest?i=zeDztXA97cY:2PBqEinTAGE:gIN9vFwzeDztXA97cY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments