1752546 Members
4584 Online
108788 Solutions
New Discussion юеВ

Re: Kill -HUP sshd

 
SOLVED
Go to solution
dev44
Regular Advisor

Kill -HUP sshd

IF you HUP the sshd daemon, will it knock off current users?
whatever
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: Kill -HUP sshd

Hi:

No.

Regards!

...JRF...
TTr
Honored Contributor

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.
dev44
Regular Advisor

Re: Kill -HUP sshd

Thanks! THat's what I thought but just wanted to confirm.
whatever
Pintu Bhagat
Occasional Advisor

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.