Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2007 19:54:19 -0300
From:      "Gustavo De Nardin" <>
Subject:   Re: ssh-copy-id
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 13/07/07, Pollywog <> wrote:
> Since FreeBSD does not have ssh-copy-id as part of the OpenSSH package, what
> is the best way to copy a public key to an account on another host?  Some
> Linuxes (Debian and Ubuntu) have a ssh-copy-id script for this in their
> OpenSSH packages.

Well dunno about "best way", but I used to do something like this..:
ssh $remote 'mkdir -m 600 .ssh && cat - >>.ssh/authorized_keys'

But of course ssh-copy-id is much smarter.


Want to link to this message? Use this URL: <>