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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .