It is very simple, if you have an option to login to the server as root user. In a direct admin server, the Admin details are saved in a file ‘/usr/local/directadmin/scripts/setup.txt’. That’s why, we can find-out the login credentials simply…
Tag: SSH
How to change cPanel theme via command line
Changing theme for your cPanel account is simple via frondend. There is an option in the cPanel itself to change the theme. But, is it possible via commandline? Yes, if you have root access to server, cPanel theme can be…
How to rebuild the “httpd conf” file in cPanel server – Command-line option
If your httpd.conf file got corrupted, then you can use the following command to rebuild it. /scripts/rebuildhttpdconf Something more about cPanel, See the category CPANEL
How to get a list of re-sellers’ name under your WHM/cPanel server – Command-line option
Hey, we already discussed about How to list all accounts name under a cPanel re-seller, click here for more details “list of total cPanel users under a specific re-seller” Here I am explaining the command-line option to find out the…
How/Steps to install fail2ban on CentOS 5.x, 6.x Rhel 5.x, 6.x – Protect SSH/FTP using fail2ban
Fail2ban, it is a security based application for your Unix based server. The fail2ban service is commonly used to protect your SSH and FTP from unauthorized connection. Here I am explaining the installation and basic configurations steps of fail2ban service…
How to create a banner/welcome-note for SSH server
We can create banner/welcome-note for SSH server simply by adding a text file in ‘/etc/ssh/’ location which contails the content as welcome-note. Do follow the steps below: Step 1: Create the text file which has your welcome note under ‘/etc/ssh/’…
How to manage SSH permission for custom users under your server
Sometimes it is very useful to manage/assign the SSH authentication to a particular user, Click here for SSH root permission. There are two directives in SSH configuration file to manage the SH permission for custom users, see the directive details…