ssh host v client regarding keys

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


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

<snip/>

> 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).

Cheers,

..C..

[1] http://manpages.ubuntu.com/manpages/utopic/en/man1/ssh-copy-id.1.html



More information about the ubuntu-users mailing list