unable to modify sshd_config file through control panel file editor

aliweb

Verified User
Joined
Sep 11, 2013
Messages
6
today I tried to change ssh port through command line but I don't know why after the modification I can not access my server through ssh.

Now I wanted to change back the ssh port via editing sshd_config file through directadmin control panel, but it says root password is required, and when enter my root password it says:

Unable to authenitcate

Details

Check your password for syntax

note: my root password contains space character but I don't think that's the case

please help because I can't access my server.
 
today I tried to change ssh port through command line...
Have you added that port to the firewall?
This command will allow ssh connections through port 40000:
Code:
-A INPUT -p tcp -m state --state NEW --dport 40000 -j ACCEPT
If you are blocked because of this, start the server in Rescue Mode, if available by the datacenter and modify manually ssh.config and change back the standard port.
 
Back
Top