Get ssh-copy-id in Mac OS X Lion

  1. sudo curl «http://hg.mindrot.org/openssh/raw-file/c746d1a70cfa/contrib/ssh-copy-id» -o /usr/bin/ssh-copy-id(cuidado con las comillas, usa las de tu terminal –> para arreglar errores del tipo: Protocol xxx not supported or disabled in libcurl
  2. sudo chmod +x /usr/bin/ssh-copy-id
  3. otra manera de realizar este comando sin tener usar el comando ssh-copy-id:cat ~/.ssh/id_rsa.pub | ssh usuario@servidor ‘cat – >> /path/to/resource/.ssh/authorized_keys’

source blog.

Get ssh-copy-id in Mac OS X Lion