Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question

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

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

add comment

2 Answers

up vote 12 down vote accepted

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

share|improve this answer
    
Thank you for the answer :-) –  Shamil Assylbekov Dec 4 '13 at 17:35
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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