On 13/07/07, Pollywog <[EMAIL PROTECTED]> 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) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"