View Single Post
  #2 (permalink)  
Old 06-30-2009, 05:32 AM
JPC-Howard JPC-Howard is offline
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Apr 2008
Location: PK
Posts: 232
JPC-Howard is on a distinguished road
Quote:
Originally Posted by maquinadigital View Post
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.
__________________
JaguarPC
Reply With Quote