Articles Tagged '0110 concerten'
ssh-copy-id is a practical bash script, installed by default on Ubuntu. The script is used to distribute public keys. The following oneliner makes it available on Mac OS X:
sudo bash < <( curl --silent http://0110.be/files/attachments/314/install-ssh-copy-id.bash )
This oneliner does three things:
- It copies
ssh-copy-idfrom this website to
- It makes sure that
ssh-copy-idis executable, using
- There is no three
The install procedure needs superuser rights because it writes in the
/bin folder. Executing scripts from untrusted sources with superuser rights is actually really, really, extremely dangerous. But in this case it is rather innocent.
ssh-copy-id script is the one provided with Ubuntu and Debian, I assume it is GPL’ed. I have not modified it for Mac OS X but it seems to behave as expected. I have only tested the install script and behavior on 10.6.5, YMMV.