Linode SSH Permission Denied (publickey)
Workaround available Linux, Cloud Manager Updated November 14, 2026Based on 3 user reportsHow we research
Quick answer
Permission denied means root login or password auth is disabled, or your public key is not in authorized_keys. Fix it from Lish, which works without SSH.
Most likely fix: Inspect sshd settings from Lish
How to fix it
Try these in order — the most common fix is first.
1. Inspect sshd settings from Lish
- Open Lish from Cloud Manager
- Run grep PermitRootLogin /etc/ssh/sshd_config and grep PasswordAuthentication /etc/ssh/sshd_config
- Log in as another user, or set the value you need and run sudo systemctl restart sshd
Did this fix it?2. Add your public key
- Run cat ~/.ssh/authorized_keys for the target user
- Append your public key on a new line if it is missing
- Find the file location with grep AuthorizedKeysFile /etc/ssh/sshd_config
Did this fix it?3. Debug from your computer
- Run ssh -vvv user@IP and read which key is offered and why it is refused
Did this fix it?4. Reset a forgotten root password
- In Cloud Manager open the Linode, choose the Reset Root Password option (Linode must be shut down)
- Boot again and log in via Lish; as root run passwd username to change another user
Did this fix it?
Symptoms
Permission denied (publickey) or Permission denied, please try again when connecting over SSH, even though the server is reachable.
Why it happens
- PermitRootLogin is set to no
- PasswordAuthentication is set to no and no key is installed
- Your public key is missing from authorized_keys
- Forgotten user or root password
This guide also covers
- linode ssh permission denied
- linode permission denied publickey
- linode reset root password
Still not working?
If Linode keeps failing, you're not alone. See every Linode problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usOther Linode errors
- Can't SSH Into Linode: Connection Refused or Timed Out
- Linode Unreachable After Reboot, Maintenance or Firewall Change
- Linode Lish Console Not Working or Login Fails
- Linode Outbound Email Blocked: Ports 25, 465 and 587
- Linode Out of Memory: OOM Killer Kills MySQL, Apache or Node
- Linode Account Pending, Verification Required or Limit Reached
- Linode Still Charging After Powering Off: You Must Delete It
- How to Cancel Linode (Akamai Cloud) Account and Stop Billing