Secure Shell
To force password authentication. se
ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no <host>
Though, if you are getting 'Permission denied (publickey).', the more likely problem is that the public key isn't in authorized_keys or the permissions on authorized_keys isn't right.
We use ssh keys to access the server. We can do this as root, or as a more restricted user. Keys are kept on the local machine. As this is a temporary server many of the actions described below have only been tested as root.
Here we explore the idea of linking your server to your GitHub account using SSH Keys access. This option should be examined from a security point of view. For now it's just a useful and interesting hack - don't use on a server you care about :)
Below are a collection of links imported from OneTab. You can view these links here - one-tab.com :
The next step in securing your server is to set up public key authentication for your new user. Setting this up will increase the security of your server by requiring a private SSH key to log in.