- Delete all files from => rm -rf root/.ssh/ *
- Generate Key => ssh-keygen -t rsa -N “”
- Cope script on Second Server => scp root@192.168.1.3:/root/
- cd /root/.ssh
- cat /root/id_rsa.pub > authorized_keys
Friday, January 17, 2014
Passwordless SSH tuthorization on Linux
Install LAMP on Ubuntu Server
- sudo apt-get update
- sudo apt-get install openssh-server
- sudo apt-get install apache2
- sudo apt-get install php5
- sudo apt-get install mysql-server
- sudo apt-get install libapache2-mod-php5
- sudo apt-get install php5-mysql
- sudo apt-get install mysql-client
- sudo apt-get install php5-curl
- sudo apt-get install php5-gd
- sudo apt-get install php5-idn
- sudo apt-get install php5-imagick
- sudo apt-get install php5-imap
- sudo apt-get install php5-mcrypt
- sudo apt-get install php5-memcache
- sudo apt-get install php5-mhash
- sudo apt-get install php5-ming
- sudo apt-get install php5-ps
- sudo apt-get install php5-pspell
- sudo apt-get install php5-recode
- sudo apt-get install php5-snmp
- sudo apt-get install php5-sqlite
- sudo apt-get install php5-tidy
- sudo apt-get install php5-xmlrpc
- sudo apt-get install php5-xsl
- sudo apt-get install php5-json
- sudo apt-get install php5-cli
- sudo apt-get install php-pear
- sudo apt-get install php-apc
- sudo apt-get install phpmyadmin
- sudo apt-get install curl
- sudo apt-get install sendmail
- sudo apt-get install ethtool
- sudo apt-get install nfs-kernel-server
- sudo apt-get install nfs-common
- sudo apt-get install portmap
- sudo apt-get install perl
- sudo apt-get install libnet-ssleay-perl
- sudo apt-get install openssl
- sudo apt-get install libauthen-pam-perl
- sudo apt-get install libpam-runtime
- sudo apt-get install libio-pty-perl
- sudo apt-get install htop
Subscribe to:
Posts (Atom)