Script To Migrate Reseller

#Migrate Reseller echo “Server IP :- “; read remote_host; echo “Checking for the Authentication Keys ” hostname=$(hostname) Key=$(grep -s $hostname /root/.ssh/id_rsa.pub | wc -l) if [ “$Key” -le 0 ]; then echo ” No Keys Found. Adding new KEY” ssh-keygen -t rsa -b 1024 -f /root/.ssh/id_rsa -N “” else echo “Authentication Does exist” fi echo […]

CentOS 6: Install VPN PPTP Client

Here is the steps to install Install VPN PPTP Client on CentOS 6 I will be using following variables: Client OS: CentOS 6.3 64bit PPTP Server: 192.168.100.1 Username: myvega Password: CgK888ar$ 1. Install PPTP using yum: $ yum install pptp -y 2. Add the username and password inside /etc/ppp/chap-secrets: myvega     PPTPserver     […]