File tree Expand file tree Collapse file tree 2 files changed +5
-17
lines changed
docs/cloudflare-one/connections/connect-networks/use-cases/ssh
partials/cloudflare-one/ssh Expand file tree Collapse file tree 2 files changed +5
-17
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ chmod 600 /etc/ssh/ca.pub
7878
7979:::
8080
81- ### Restart your SSH server
81+ ### Reload your SSH server
8282
8383<Render file = " ssh/restart-server" />
8484
Original file line number Diff line number Diff line change 44
55import { Tabs , TabItem , Render } from " ~/components"
66
7- Once you have modified your SSHD configuration, restart the SSH service on the remote machine.
7+ Once you have modified your SSHD configuration, reload the SSH service on the remote machine for the changes to take effect .
88
99<Tabs >
1010<TabItem label = " Debian/Ubuntu" >
1111
12- For older Debian/Ubuntu versions :
12+ For Debian/Ubuntu:
1313
1414``` sh
15- sudo service ssh restart
16- ```
17-
18- For newer Debian/Ubuntu versions:
19-
20- ``` sh
21- sudo systemctl restart ssh
15+ sudo systemctl reload ssh
2216```
2317</TabItem >
2418<TabItem label = " CentOS/RHEL" >
2519
26- For CentOS/RHEL 6 and older:
27-
28- ``` sh
29- sudo service sshd restart
30- ```
31-
3220For CentOS/RHEL 7 and newer:
3321
3422``` sh
35- sudo systemctl restart sshd
23+ sudo systemctl reload sshd
3624```
3725
3826</TabItem >
You can’t perform that action at this time.
0 commit comments