I've made some changes to the sshd_config. As I understand it, now I need to restart the sshd service.

What happens to existing ssh sessions for the users? Any pointers to documentation I need to read?

2 Answers 2


Existing sessions will remain active, using the pre-restart config. All new sessions will use the new config.


when you do a configuration change, is better if you use reload function, if the agent provide or kill -HUP pid

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.