|
|||
|
Reinstall ssh defaults
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. |
|
|||
|
Quote:
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.
__________________
JaguarPC |
|
|||
|
If you changed the ssh port and you got locked out, most likely there's a firewall blocking that port. If you have kvm access you can just stop the firewall and see if that helps.
|
|
|||
|
Quote:
The port was open but I forget to check if there was another service running on it and... it was. Regained access to the server, reconfigured another port, and it's working fine. Live safer, thank you very much. |
|
|||
|
Quote:
__________________
JaguarPC |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to reinstall SSH | grabyourhosting | cPanel and WHM Discussions | 12 | 05-03-2007 08:07 PM |
| Account Defaults | craigbrass | cPanel and WHM Discussions | 4 | 04-24-2007 11:54 AM |
| SOS I reinstall the mysql server under the SSH, and the WHM can't find mysql anymore! | Tanay | cPanel and WHM Discussions | 1 | 12-24-2003 02:43 AM |