Hacker News new | ask | show | jobs
by jlgaddis 4725 days ago
> $ cat ~/.ssh/id_rsa.pub | ssh encbox@your.vps.com "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"

    $ ssh-copy-id encbox@your.vps.com
Much easier, IMO.
1 comments

Doesn't exist on all machines which would be capable of using this - namely OSX
Good point. It is installed on my MBP but it looks like I installed it via brew.