mirror of
https://github.com/mayfrost/guides.git
synced 2024-11-28 02:11:46 +00:00
Update NETWORKING.md
This commit is contained in:
parent
8ddb8202a4
commit
3392ad8fce
@ -116,8 +116,8 @@ You can save either example in a script to activate the Wi-Fi whenever you want.
|
|||||||
`ssh USER@ADDRESS`
|
`ssh USER@ADDRESS`
|
||||||
* set ssh server configuration in /etc/ssh/sshd_config
|
* set ssh server configuration in /etc/ssh/sshd_config
|
||||||
```
|
```
|
||||||
Port 22 # default port
|
Port 22 # default port is 22, can be changed
|
||||||
PermitRootLogin without-password # change "without-password" to "no"
|
PermitRootLogin without-password # change "without-password" to "no" to forbid root login
|
||||||
AllowUsers USER_NAME # by allowing a specific user it restricts the others
|
AllowUsers USER_NAME # by allowing a specific user it restricts the others
|
||||||
```
|
```
|
||||||
* restart "ssh" service to activate changes
|
* restart "ssh" service to activate changes
|
||||||
|
Loading…
Reference in New Issue
Block a user