On 17/08/07, Dave Walker <[EMAIL PROTECTED]> wrote:
> Key Based Authentication:
>
> # On local machine upload the key (If you already have one)
> $ scp ~/.ssh/id_dsa.pub [EMAIL PROTECTED]:~/
>
> # ssh back to dreamhost
> $ mkdir .ssh
> $ cat id_dsa.pub >> .ssh/authorized_keys # append your key
>

Instead of this bit, you can use ssh-copy-id, which comes as part of
ssh (I think), and does the whole process for you, including
respecting any existing authorized_keys (I know you append here, but
I've seen other examples that blat the whole file).

Hwyl,
Neil.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/

Reply via email to