update SSH doc

This commit is contained in:
Jesús
2022-04-17 11:17:40 +08:00
parent c0e0dbfc36
commit b84236c5a3

View File

@@ -84,6 +84,12 @@ To add a nice welcome message (e.g. from the /etc/issue file), configure the Ban
Banner /etc/issue
```
### Copy public key to server
```console
ssh -i ~/.ssh/mykey.pub user@host
```
#### Securing the authorized_keys file
For additional protection, you can prevent users from adding new public keys and connecting from them.