update SSH doc
This commit is contained in:
parent
c0e0dbfc36
commit
b84236c5a3
@ -84,6 +84,12 @@ To add a nice welcome message (e.g. from the /etc/issue file), configure the Ban
|
|||||||
Banner /etc/issue
|
Banner /etc/issue
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Copy public key to server
|
||||||
|
|
||||||
|
```console
|
||||||
|
ssh -i ~/.ssh/mykey.pub user@host
|
||||||
|
```
|
||||||
|
|
||||||
#### Securing the authorized_keys file
|
#### Securing the authorized_keys file
|
||||||
|
|
||||||
For additional protection, you can prevent users from adding new public keys and connecting from them.
|
For additional protection, you can prevent users from adding new public keys and connecting from them.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user