• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue Cannot connect to Plesk view SSH

lukaslaudrain

New Pleskian
I was working on a Plesk Obsidian server via SSH and I modified the ssh config and restarted the sshd service. However, the SSH config was invalid and now the service is down and I cannot ssh into the server. I have tried to access it from the panel but it didn't work. Does someone knows how I can get my access back?
 
Some server providers offer remote console access (e.g., KVM). If available, you can use it to access the server and fix the SSH configuration.

Hopefully you can login that way and revert the changes to /etc/ssh/sshd_config.

Next time before restarting sshd service test/check the new configuration for syntax errors with #sudo sshd -t

Make sure to correct any errors reported before restarting the SSH service to avoid locking yourself out of the server.
 
Back
Top