Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Author: UltratechHost - Replies: 0 - Views: 11861
How to ban an IP In SSH
How to ban an IP In SSH ?

To bann an ip address manually you should use iptable. In most of linux servers iptable installed by default.

To block an ip address run this command as root in ssh :

iptables -A INPUT -s <IP> -j DROP

example :

iptables -A INPUT -s -j DROP
Author: UltratechHost - Replies: 0 - Views: 3918
Backup/Restore MySQL Databases via SSH
Backup/Restore MySQL Databases via SSH

Ok , in this pretty morning I will learn you how to backup or restore your mysql databases with ssh commands . It is very useful when you have a big data base because you cannot restore big databases with phpmyadmin . (in usual servers)

Ok lets start ,

Creating a dump of your Database via SSH

Connect to your ssh client with putty or any more ssh client programs . (In linux yomust use terminal)

# cd public_html

Now you are
Author: UltratechHost - Replies: 0 - Views: 4168
Changing SSH Port on VPS and Dedicated Server
Changing The default port 22 to other port is considered as a security measure.

I am sure that 90 % of members here use the default port

STEP1 : Login to your V.P.S / Dedi by using a SSH client like Putty.

STEP2: Editing /etc/ssh/sshd_config

Using your favourite editor,edit /etc/ssh/sshd_config

PHP Code:
nano /etc/ssh/sshd_config 

Default port will be 22 ..change it to a value of your wish, but make sure its not binded by another application and not blocked by firewall.

Author: UltratechHost - Replies: 0 - Views: 4490
How to Install Fantastico via SSH and WHM
Below mentioned are the steps to install Fantastico on Linux server via SSH access and WHM:

1) Login via SSH to your server and enter following commands:

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget http://www.netenberg.com/files/free/..._whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz
2) Now go to WHM, login as root and follow the link WHM -> Add-Ons
-> Fantastico De Luxe WHM Admin. One need to complete the installation by following t
Author: UltratechHost - Replies: 0 - Views: 4088
How do I permit specific users SSH access
We will be primarily working with one configuration file in this article:

* OpenSSH - /etc/ssh/sshd_config


For locking down which users may or may not access the server you will want to look into one, or more, of the following directives:

User/Group Based Access


This keyword can be followed by a list of group name patterns, separated by spaces.If specified, login is allowed only for users whose primary group or supplementary group list matches one of the pat
Author: UltratechHost - Replies: 0 - Views: 4096
Display a message when logging in through SSH
If you have ever wanted to display a message to your users when the log in through ssh, you just need to edit a couple of files. The first one is:

vi /etc/motd

This file has the text that will be displayed when an authorized user logs in through SSH. The next change we need to make is to the SSH configuration file, which tell it to display the MOTD (message of the day). The file can be found here, on a CentOS 5 system:

vi /etc/ssh/sshd_config

Look for the line containing PrintMotd an
Author: UltratechHost - Replies: 0 - Views: 3679
E-mail Alert on Root SSH Login
E-mail Alert on Root SSH Login

Want to be notified instantly when someone logs into your server as root? No problem, check out this nice tutorial on email notification for root logins. Keeping track of who logs into your server and when is very important, especially when you’re dealing with the super user account. We recommend that you use an email address not hosted on the server your sending the alert from.

So lets get started!

1. Login to your server and su to root, I know the irony!
Author: UltratechHost - Replies: 0 - Views: 12238
Server Security (Apache, SSL, SSH, cP/WHM, Firewall, RootKit, DDoS Protection)
/================================================================================ \
-------------------------------:[Server Security]:--------------------------------

#1) Upgrade Apache/PHP, MySQL, OpenSSH, OpenSSL, cP/WHM
Author: UltratechHost - Replies: 0 - Views: 5534
SSH Tunneling ( Use your vps/dedi as socks5 proxy)
we can use this method to hide your IP address while browsing is public forums for some privacy reasons ..

what is SSH Tunneling ?

[Image: http://i50.tinypic.com/2mi02yu.gif]


A shell account ( not necessarily a root account )
Mozilla Firefox


[Image: http://i50.tinypic.com/9fwbar.png]

and type your host name and the ssh port ( by default it will be 22)

and then

Author: UltratechHost - Replies: 0 - Views: 4748
How to change cPanel package names in SSH

This is tutorial on how to change your cPanel package names in SSH.

Firstly login to SSH.

Proceed to folder 'root'
cd root
If you get: -bash: cd: root: No such file or directory
Don't worry, this just means you are already in root directory.

Next, proceed to folder 'var'
cd /var

Then proceed to folder 'cpanel'
cd cpanel

Then proceed to folder 'packages'
cd packages

Now we are in the directory where all the packages are kept