Update NETWORKING.md

This commit is contained in:
mayfrost 2018-10-14 03:27:51 +00:00 committed by GitHub
parent 8ddb8202a4
commit 3392ad8fce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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