ssh-copy-id

Jonathan Horne freebsd at dfwlp.com
Fri Jul 13 17:03:49 UTC 2007


On Friday 13 July 2007 11:51:12 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.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

i just scp the id file to my homedir on the destination computer.  then i:

cat id_rsa.pub >> .ssh/authorized_keys2

hth,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
freebsd at dfwlp.com


More information about the freebsd-questions mailing list