
Now you should be able to try and connect with SSH. You'll just need to restart the SSH server with one of the following commands. When you're done, hit CTRL+O to save and CTRL+X to exit Nano. Don't forget to remove # symbols before each value that you are changing. Make the following changes (disabling PubKeyAuthentication is optional). To use Nano to edit it, run this command (use 'sudo' if not logged in as root): $ (sudo) nano /etc/ssh/sshd_config Once logged in, you'll need to edit your /etc/ssh/sshd_config file. (optional) Disable public key authentication on your server.įirst, you will need to log in to your Linode via the Lish console.
#DAEMON TOOLS ACCESS DENIED PASSWORD#
Enable password authentication on your server. If you don't have the matching key on your local machine, then you'll need to: It only works if you have both PubKeyAuthentication and PasswordAuthentication enabled - and it won't work with PuTTy, unfortunately. This command tells SSH to prefer passwords over public keys. Then, you can try logging into your Linode with the following SSH command: $ ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no This command will tell you everything that SSH is trying to do and trying to check when accessing your Linode: $ ssh -vvv


You have too many keys on your local machine.You don't have the matching key on your local machine.If you're getting the Permission denied (publickey) error when connecting to your Linode with SSH, one of three things may be happening.
