diff options
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/ |