diff options
author | Silvino Silva <silvino@bk.ru> | 2020-03-13 19:34:51 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2020-03-13 19:34:51 +0000 |
commit | 4216ad7e3cc4d4733034a50c122e4efa4ae08108 (patch) | |
tree | 8c92e5912958c4c80dcdbaabe8f356a341123b71 /tools | |
parent | 5fe66fd40f77166e02806500dabfd9a34c2e7b65 (diff) | |
download | doc-4216ad7e3cc4d4733034a50c122e4efa4ae08108.tar.gz |
openssh and core rc.d/wan update
Diffstat (limited to 'tools')
-rw-r--r-- | tools/openssh.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/openssh.html b/tools/openssh.html index c6cf405..c44a934 100644 --- a/tools/openssh.html +++ b/tools/openssh.html @@ -211,8 +211,12 @@ <p>Example how to give ssh access to bob user to admin account using public key authentication. Is necessary to make user public - key available in the server, this can be done by several ways, in - this example the public key will be copied using scp;</p> + key available in the server, this can be done by several ways;</p> + <pre> + ssh-copy-id -i ~/.ssh/id_rsa.pub admin@machine.example.org + </pre> + + <p>Or doing manually using scp;</p> <pre> $ scp /home/bob/.ssh/id_rsa.pub admin@machine.example.org:/home/admin/.ssh/ |