From 4216ad7e3cc4d4733034a50c122e4efa4ae08108 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Fri, 13 Mar 2020 19:34:51 +0000 Subject: openssh and core rc.d/wan update --- tools/openssh.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools') 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 @@

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;

+ key available in the server, this can be done by several ways;

+
+        ssh-copy-id -i ~/.ssh/id_rsa.pub admin@machine.example.org
+        
+ +

Or doing manually using scp;

         $ scp /home/bob/.ssh/id_rsa.pub admin@machine.example.org:/home/admin/.ssh/
-- 
cgit