Push Your Public Key To A Server
Join the DZone community and get the full member experience.Join For Free
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 firstname.lastname@example.org "cat >> .ssh/authorized_keys2"
Opinions expressed by DZone contributors are their own.