Commit be8a8944 authored by James Reed's avatar James Reed Committed by Craig Norris

Add step to test modified sshd_config before restarting SSH daemon

parent 812d5b02
......@@ -126,7 +126,14 @@ MaxStartups 100:30:200
`100:30:200` means up to 100 SSH sessions are allowed without restriction,
after which 30% of connections are dropped until reaching an absolute maximum of 200.
Once configured, restart the SSH daemon for the change to take effect.
After you modify the value of `MaxStartups`, check for any errors in the configuration.
```shell
sudo sshd -t -f /etc/ssh/sshd_config
```
If the configuration check runs without errors, it should be safe to restart the
SSH daemon for the change to take effect.
```shell
# Debian/Ubuntu
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment