ssh host v client regarding keys

C de-Avillez hggdh2 at
Mon Feb 16 14:03:10 UTC 2015

On Mon, Feb 16, 2015 at 12:28 AM, Karl Auer <kauer at> wrote:
> On Mon, 2015-02-16 at 05:13 +0000, thufir wrote:


> Now copy the PUBLIC part of cuser's key (that's the file with the .pub
> extension) from ~cuser/.ssh into ~huser/.ssh on the host.
> In ~huser/.ssh on the host, append the newly copied public key
> to .ssh/authorized_keys.

The copying can be done with 'ssh-copy-id' [1]; this script will put
the public key in the correct place (if not already there).




More information about the ubuntu-users mailing list