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?

migrated from serverfault.com Dec 3 '13 at 2:52

This question came from our site for system and network administrators.

up vote 13 down vote accepted

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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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