Re: Kill -HUP sshd (347 Views)
Reply
Regular Advisor
dev44
Posts: 164
Registered: ‎03-20-2002
Message 1 of 5 (347 Views)
Accepted Solution

Kill -HUP sshd

IF you HUP the sshd daemon, will it knock off current users?
whatever
Acclaimed Contributor
James R. Ferguson
Posts: 21,184
Registered: ‎07-06-2000
Message 2 of 5 (347 Views)

Re: Kill -HUP sshd

Hi:

No.

Regards!

...JRF...
Honored Contributor
Honored Contributor
TTr
Posts: 3,434
Registered: ‎01-22-2008
Message 3 of 5 (347 Views)

Re: Kill -HUP sshd

If you HUP only the main sshd process it will NOT. It just rereads the config file. However if you HUP a child sshd which actually carries the user connection, yes it will terminate.
I do not reply to forumers who 1) consistently don't assign points, 2) ask for step-by-step instructions for a topic but appear to have no IT experience and make no effort to learn. Some exceptions for newcomers and special topics.
Regular Advisor
dev44
Posts: 164
Registered: ‎03-20-2002
Message 4 of 5 (347 Views)

Re: Kill -HUP sshd

Thanks! THat's what I thought but just wanted to confirm.
whatever
Occasional Advisor
Pintu Bhagat
Posts: 7
Registered: ‎08-08-2007
Message 5 of 5 (347 Views)

Re: Kill -HUP sshd

Hi Dev,

It will just refresh the configuration file of ssh, but will not kill any session of the current user.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.