aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2022-04-17 11:17:40 +0800
committerJesús <heckyel@hyperbola.info>2022-04-17 11:17:40 +0800
commitb84236c5a304078eb589d021b0db82efe726821e (patch)
treeb2292be70a55df2e4611b0f0468f1a92d6e4febb
parentc0e0dbfc36d6332a6989bdb59aad5845ee217d15 (diff)
downloadbook-b84236c5a304078eb589d021b0db82efe726821e.tar.lz
book-b84236c5a304078eb589d021b0db82efe726821e.tar.xz
book-b84236c5a304078eb589d021b0db82efe726821e.zip
update SSH doc
-rw-r--r--ssh/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/ssh/README.md b/ssh/README.md
index 4bf1c54..623f8cb 100644
--- a/ssh/README.md
+++ b/ssh/README.md
@@ -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.