Stephen Berg (Code 7309)
2019-Sep-19 16:41 UTC
[CentOS] running init disconnects ssh session
Noticing a new behavior lately.? Logged in via sshd and ssh keys as root to a remote system.? When changing runlevels between multi-user or graphical the ssh session is disconnected.? It's not a big deal but annoying if I have other tasks to do on that particular system.? I've tried logging in as normal user, su to root and it still disconnects the ssh session upon either an "init 3" or "systemctl isolate multi-user.target" command. -- Stephen Berg, IT Specialist, Ocean Sciences Division, Code 7309 Naval Research Laboratory W: (228) 688-5738 <- (Preferred contact) DSN: (312) 823-5738 C: (228) 365-0162
Stephen Berg (Code 7309) via CentOS wrote:> > Noticing a new behavior lately.? Logged in via sshd and ssh keys as root > to a remote system.? When changing runlevels between multi-user or > graphical the ssh session is disconnected.? It's not a big deal but > annoying if I have other tasks to do on that particular system.? I've > tried logging in as normal user, su to root and it still disconnects the > ssh session upon either an "init 3" or "systemctl isolate > multi-user.target" command.That sounds like a bug to me ... doesn't happen with 7.6, but does with 7.7 ... Might need to report it via https://bugzilla.redhat.com (if there isn't already a bug report for the issue) James Pearson
Stephen Berg (Code 7309)
2019-Sep-19 17:27 UTC
[CentOS] running init disconnects ssh session
On 9/19/19 12:15 PM, James Pearson wrote:> Stephen Berg (Code 7309) via CentOS wrote: >> >> Noticing a new behavior lately.? Logged in via sshd and ssh keys as root >> to a remote system.? When changing runlevels between multi-user or >> graphical the ssh session is disconnected.? It's not a big deal but >> annoying if I have other tasks to do on that particular system. I've >> tried logging in as normal user, su to root and it still disconnects the >> ssh session upon either an "init 3" or "systemctl isolate >> multi-user.target" command. > > That sounds like a bug to me ... doesn't happen with 7.6, but does > with 7.7 ... > > Might need to report it via https://bugzilla.redhat.com (if there > isn't already a bug report for the issue) > > James PearsonI'll send a bug report in the morning, quitting time for me today. I did just notice that it seems as though any ssh session is disconnected.? Logged in as myself to system A, then logged in as root to system A.? Changed runlevel from the root login and both sessions disconnected. -- Stephen Berg, IT Specialist, Ocean Sciences Division, Code 7309 Naval Research Laboratory W: (228) 688-5738 <- (Preferred contact) DSN: (312) 823-5738 C: (228) 365-0162