Article 5G9BE ssh

ssh

by
linuly
from LinuxQuestions.org on (#5G9BE)
hi,
i connect with ssh to a host and after that systemctl stop sshd on host.
i can see that i can work in this session but the new parent is systemd.
before:
Code:root 4788 4111 0 07:28 ? 00:00:00 sshd: root@pts/0
root 4792 4788 0 07:28 pts/0 00:00:00 -bash

where 4111 ->sshd

after stop

root 4788 1 0 07:28 ? 00:00:00 sshd: root@pts/0
root 4792 4788 0 07:28 pts/0 00:00:00 -bashis this behaviour normal?
as i can see in systemd if the parent of a process is killed then the new parent is systemd.latest?d=yIl2AUoC8zA latest?i=DjymFpC6zcU:8sAIYAWWTCc:F7zBnMy latest?i=DjymFpC6zcU:8sAIYAWWTCc:V_sGLiP latest?d=qj6IDK7rITs latest?i=DjymFpC6zcU:8sAIYAWWTCc:gIN9vFwDjymFpC6zcU
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