Quote:
Originally Posted by maquinadigital
Greetings,
I've tried to change the port on sshd server and now I can't access the server by ssh.
I still have root password and WHM / Cpanel access as root, as well as FTP, etc.
Do anybody has any clue as how I could restore the default sshd_config file or something, using whm or any of the things I still have access to?
The server is about 300 miles from my office and on-hands services are expensive.
Best regards and thanks in advance.
|
Try resetting SSH via WHM using this.
http://yourdomain.com:2086/scripts2/...safesshrestart
Make sure, the port you are setting for SSH is opened in the server firewall before resetting SSH port.