On Sat, Mar 1, 2008 at 11:15 PM, Maxim Veksler <[EMAIL PROTECTED]>
wrote:

> On Mon, Feb 18, 2008 at 7:13 AM, Amos Shapira <[EMAIL PROTECTED]>
> wrote:
> >
> > On 17/02/2008, Erez D <[EMAIL PROTECTED]> wrote:
> >
> > > #copy to destenation
> > > scp .ssh/id_dsa.pub <target_machin>:/<path to
> home>/.ssh/authorized_keys2
> > > #(actually you should append to destenation instead of copying to it)
> >
> > 2. At least on Debian Etch and CentOS 5, there is "ssh-copy-id" to help
> you transfer the public key conveniently.
>
> Who needs it?
>
> cat ~/.ssh/id_dsa.pub | ssh <target_machin> 'cat >> /<path to
> home>/.ssh/authorized_keys2'


I think you just gave the answer, after doing this all the time for all the
servers and keys you manage (I install public keys of co-workers to let them
on the servers), you see the value of being able to just type

"ssh-copy-id -i identify-file.pub [EMAIL PROTECTED]"

--Amos

Reply via email to