Restored linode sshd fails

** issue fixed by re-opening the non-standard port I use for sshd in selinux

After a restore from backup, the sshd.service fails to start.
here is the output from systemctl status sshd.service:
[root@localhost home]# systemctl status sshd.service
● sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor pres>
Active: activating (auto-restart) (Result: exit-code) since Sat 2022-05-28>
Docs: man:sshd(8)
man:sshd_config(5)
Process: 7521 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=255>
Main PID: 7521 (code=exited, status=255/EXCEPTION)
CPU: 17ms

is there something I'm missing here or is my restored linode broken?

1 Reply

Thanks for updating your post to let the community know that you were able to resolve this. Based on what you said you did to reconnect to your Linode after the restore job, I did a Google search and found a post that outlines the steps to open a non-standard port for a service in SELinux. I wanted to share this in case anyone else encounters this issue and isn't aware of how to do this:

How to configure SSH to use a non-standard port with SELinux set to enforcing

Reply

Please enter an answer
Tips:

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] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct