I am working on a tooltwist staging server using an Amazon Linux Server but I have to always provide my login username and password. How do I access the linux server securely without going through this?
If you are accessing it from a OSx machine do the following. The general principle being that you generate an public key and then take your public key and put it on the remote server.
On your machine
ssh-keygen -t rsa
This should generate a id_rsa.pub file in your ~/.ssh directory. Take the contents of this file and paste it on the ~/.ssh/authorized_keys file.
Some notes to ensure. Both sides should have .ssh and the files under .ssh be with 600 permissions. Or else you will get errors.