iwel's e-notes about his World
Posts tagged Hosting
CPanel Guide: allow SSH connection to a Cpanel server
Jun 2nd
As an administrator of a cpanel server sometimes WHM is cannot handle all the actions you want to do, thats when SSH comes in handy to handle problems by directly accessing the command line.
To allow SSH connection to a CPanel server you need to do several things in your WHM :
1. Go to the “ConfigServer Security&Firewall Link”
2. Click on the “Firewall configuration” button, then let it show the configuration, find the “TCP_IN = ” text box and fill the port you want to allow to SSH access your server, let say u fill 9000, Klik “Change button”
3. When you go back to the ConfigServer homepage, click the “Firewall Allow IPs”, insert your IP or using this line below
tcp:in:d=YYYYY:s=xxx.xxx.xxx.xxx
whereas Y is your port number that you have set on the 2nd step, and X is the IP you want to allow SSH connection to your CPanel server,
Next Klik the “Change” button, then klik the “Restart LFD+CSF” button
Thats it, your done, but hey.. when your allready allowed SSH connection to your CPanel server, you access the root ??? relax, all you need to do is :
1. go back to your WHM,
2. search for “Manage Wheel Group Users” then click the link,
3. go to the “Add a user to the wheel group” then click the link you want to add, click the “Add to group” button.
wait a minute… before continuing, you still have one last step to do, that is adding your IP to Host Access List,
Voila, now you can use the “su -” command to login as root in your command line.
Hope this post helps you manage your server,
Come back again to get another Cpanel Guide tutorials
Cpanel Guide: How to move a cpanel hosting account to another reseller account
Jan 28th
Sometimes you need to move one account from one reseller account to another reseller account in order to move the ownership of a hosting account in our WHM cpanel, to do :
1. Login to your WHM Panel (as root)
2. Go to Reseller Center (Under Reseller Category)
3. Choose menu “Change Ownership of an account” under the “Change Account Ownership/Email Resellers” category
4. Choose the domain / user you want to move in account selection,
5. Choose the reseller account then click the “OK” button
Now the account will be under the WHM reseller account