Hello,
could someone post a non modified current sshd_config file of cpanel? I have edited my file and haven't made a backup...
Thanks.
Hello,
could someone post a non modified current sshd_config file of cpanel? I have edited my file and haven't made a backup...
Thanks.
If I were you, I would run the script below and then make the changes again.
http://yourdomain.com:2086/scripts2/...safesshrestart
Replace yourdomain.com with your server's IP or resolved hostname off course.
1 solution works for all problems. Trying harder!
HostMasterTips - Understanding Tech Support
Depends on how extensively you have tweaked sshd_config. It normally resets SSH port from any other to default 22.
If you have access to console, check /etc/ssh/ folder for a file named sshd_config.rpmnew or similar. This should be the default file. Copy it into sshd_config and you should be good to go after a service restart. If this doesn't work, you can re-install ssh via yum after renaming the current config file.
1 solution works for all problems. Trying harder!
HostMasterTips - Understanding Tech Support
SSH restarted now and i just needed to find out which line the missconfiguration was with "/etc/init.d/sshd restart" and then i fixed the wrong line: it's now running fine again. Thanks.
1 solution works for all problems. Trying harder!
HostMasterTips - Understanding Tech Support