Accidentally locked myself out


I was trying to change the default port for SSH from 22 to another port but forgot to open the new port and now I can't get in via SSH.

I see there's the Linode Shell option.

How do I use Lish so I can open the new port so I can log in via SSH again?


2 Replies … hell-lish/">

This happened to me while I was securing my Ubuntu node following the document. I prematurely set the /etc/ssh/sshd_config PasswordAuthentication to "no". Lish allowed me to use nano to change the value to "yes" and run the "systemctl restart sshd" command. I was no longer locked out.

Today, I really like the Linode Shell.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct