Tuesday, July 16, 2013

Safe SSH restart cPanel

If you can access WHM/cPanel of the server and cant SSH into the server you can try this method.


# Restart SSH Deamon in Safe Mode using HTTP
http://X.X.X.X:2086/scripts2/autofixer

# Restart SSH Deamon in Safe Mode using HTTPS
https://X.X.X.X:2087/scripts2/autofixer

# type/enter script name
safesshrestart

You can also try this, do to not forget to login to WHM first and then COPY and PASTE this to address bar of your web browser:
# Direct URL for SSH Deamon Restart in Safe Mode using HTTP

http://X.X.X.X:2086/scripts2/doautofixer?autofix=safesshrestart
# Direct URL for SSH Deamon Restart in Safe Mode using HTTPS

https://X.X.X.X:2087/scripts2/doautofixer?autofix=safesshrestart
NOTE: do not forget to replace X.X.X.X with your domain name or server ip address.

When executing this cPanel with kill currently running ssh server and run it with own/default configuration file located at /var/cpanel/safe_sshd
/usr/sbin/sshd -f /var/cpanel/safe_sshd

After this if you restart SSH deamon the SSH will go back to its original settings.

Attracta SEO and Marketing Tools Upgrade in cPanel/WHM




For those customers who were using Attracta version 2.23 and up, you may have been updated to Attracta 2.29 already via a cPanel update. The version of Attracta running on the system is available at /var/cpanel/attracta/version or at the bottom of Attracta's WHM interface.

To update to the latest Attracta, you can run the following commands via SSH as root:

wget -N www.attracta.com/static/download/cpanel-install

sh cpanel-install



Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Affiliate Network Reviews