Date: Sat, 14 Jul 2007 19:54:19 -0300 From: "Gustavo De Nardin" <gustavodn@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: ssh-copy-id Message-ID: <50af0a260707141554y45f4e98cpdaf84d03e58136f@mail.gmail.com> In-Reply-To: <200707131651.12198.lists-fbsd@shadypond.com> References: <200707131651.12198.lists-fbsd@shadypond.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13/07/07, Pollywog <lists-fbsd@shadypond.com> 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' <~/.ssh/id_rsa.pub But of course ssh-copy-id is much smarter. -- (nil)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50af0a260707141554y45f4e98cpdaf84d03e58136f>