[ubuntu-uk] VPS hosts

Neil Greenwood neil.greenwood.lug at gmail.com
Fri Aug 17 13:04:20 BST 2007


On 17/08/07, Dave Walker <DaveWalker at ubuntu.com> wrote:
> Key Based Authentication:
>
> # On local machine upload the key (If you already have one)
> $ scp ~/.ssh/id_dsa.pub username at your_dreamhost_domain:~/
>
> # 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.



More information about the ubuntu-uk mailing list