Over a million developers have joined DZone.

Push Your Public Key To A Server

If you've already created your ssh keys locally do this to push the public key to a server so you won't have to login to the server everytime you ssh or cap deploy. 

 cat .ssh/id_rsa.pub | ssh deploy@myserver.com "cat >> .ssh/authorized_keys2"

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}