Avoid locking out when restarting sshd
Existing sessions will remain active, using the pre-restart config. All new sessions will use the new config.
So before restarting sshd, open another session and keep it alive while restarting sshd service.
Comments
Post a Comment