that will transfer AND install your default identity's public file on the remote machine's authorized_keys automatically. ssh-copy-id for some reason, although a part of OpenSSH, is not installed on OSX, hence the need to brew it.
Achievements
10
Karma
0
Total ProTip Views
Charity
Fork and commit to someone's open source project in need
save a couple of steps:
brew ssh-copy-id ;
ssh-copy-id user@gateway.example.com
that will transfer AND install your default identity's public file on the remote machine's authorized_keys automatically. ssh-copy-id for some reason, although a part of OpenSSH, is not installed on OSX, hence the need to brew it.