Hello there. I need to add a public ssh key (from codeship.io) to my Ubuntu 12.04 machine. I have added the key to ~/.ssh/authorized_keys/id_rsa.pub and after that restarted ssh (sudo service ssh restart). However. I’m still not able to log into the server from codeship, so I’d like to know if the public key has been installed correctly. Is there a way to verify it?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.