How To Reset A Kloxo Or LxAdmin Password From SSH


Cheap reseller Hosting


How to Reset A Kloxo Or LxAdmin Password From SSH

Kloxo is an another useful free control panel for web hosting management.

When your VPS is installed by us with lxadmin the password will be the same as what you asked for on setup.

If not try “admin”

Note: if you reinstall yourself it will also be “admin”

If you still can’t login:

Step 1 : Login via SSH server as root.

Step 2 : Execute the script.

cd /usr/local/lxlabs/kloxo/httpdocs

or

cd /usr/local/lxlabs/lxadmin/httpdocs

Step 3 : Restart Kloxo.

/usr/bin/lphp.exe ../bin/common/resetpassword.php master

Step 4 : Now try your password again.

If you still can’t get it to work, create a support ticket at Hostripples client area.

Reset a Kloxo password_ashishkale.in

That’s it!!

 

 


Cheap web Hosting


How to Reboot your cpanel/whm in ssh


Cheap reseller Hosting


 

Reboot your cpanel

How to Reboot your cpanel/whm in ssh

If you happen to mess up your ssh configuration some how you can reset the ssh config from Cpanel then restart your machine via ssh by using following command

/etc/init.d/cpanel restart

 

Enjoy!!!

 

                                                                          Or

 

 

If you cannot reboot your server manually, you can restart it by requesting a power cycle.

1) Log in to your Account Manager.

2) Click Servers.

3) Next to the server you want to use, click Manage.

4) Click Power.

5) Click Restart.

 

 


Cheap web Hosting


How to Configuring Self-Signed SSL / HTTPS Access


Cheap reseller Hosting


To Configuring Self-Signed SSL / HTTPS Access

1) To install OpenSSL on your VPS:

apt-get -y install openssl

 

2) To generate a self-signed certificate that ZPanel will use to secure your connection by using following commands:

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -out /etc/pki/tls/certs/zpanel.crt -keyout /etc/pki/tls/certs/zpanel.key

 

3) To be configured to use the new certificate by using following commands:

nano /etc/httpd/conf.d/ssl.conf

 

4) Now, Find the SSLCertificateFile and SSLCertificateKeyFile entries and change them to :

SSLCertificateFile /etc/pki/tls/certs/zpanel.crt
SSLCertificateKeyFile /etc/pki/tls/certs/zpanel.key

 

5) Save changes and Exit from the file.

We need to redirect all HTTP based ZPanel login attempts to the secure HTTPS URL.

1) Login to ZPanel

 

2) Navigate the menu system as follows:

Zpanel -> Admin -> Module Admin -> Apache Admin

 

3) In Global Zpanel section, insert the following:

Redirect Permanent / https://[VPS FQDN]/

 

4) Now restart the Apache server on your VPS.

service apache2 restart

.
.
.
.
.
.

The installation is now complete!

You can now access your Ubuntu ZPanel installation via secure SSL (HTTPS) connections!


Cheap web Hosting


Simple way to protect SSH against or not protect against


Cheap reseller Hosting


Protect SSh

SSH will protect against

Seven important steps to Secure Shell protects against (again, from the README)

Step 1) Eavesdropping of data transmitted over the network.

Step 2) Manipulation of data at intermediate elements in the hosts.

Step 3) IP address spoofing where an attack hosts pretends to be a trusted host by sending packets with the source address of the trusted host. Ssh even protects against a spoofer on the local network, who can pretend he is your router to the outside.

Step 4) DNS spoofing of trusted host names/IP addresses, where an attacker forges name server records

Step 5) IP source routing, where a host can pretend that an IP packet comes from another, trusted host.

Step 6) Interception of cleartext passwords and other data by intermediate hosts.

Step 7) Attacks based on listening to X authentication data and spoofed connection to the X11 server

 

SSH will not protect against

Secure Shell will not help you with anything that compromises your host’s security in some other way. Once an attacker has gained root access to a machine, he can then subvert ssh, too.

Step 1) Incorrect configuration or usages.

Step 2) A compromised root accounts.

Step 3) Insecure home directories: if an attacker can modify files in your home directory (e.g. via NFS) he may be able to fool SSH

 

 


Cheap web Hosting


SSH Connection Sequence


Cheap reseller Hosting


 

ssh

The following series of events help protect the integrity of SSH communication.

SSH Connection Sequence

1) A cryptographic handshake is made with the server

2) The connection between client and remote server is encrypted using symmetric cipher

3) Client authenticates itself

4) Client can now interact safely with remote server over encrypted connection

 

 


Cheap web Hosting