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?
Thanks
2 Replies
This happened to me while I was securing my Ubuntu node following the https://www.linode.com/docs/guides/securing-your-server/ 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.