Script for installing and setting Virtual Machine from SSH. Obe is an easy way to install and setting VM environment.
$ locale-gen en_GB en_GB.UTF-8
$ dpkg-reconfigure locales
$ adduser example_user sudo
On your local machine:
$ ssh-keygen
$ scp ~/.ssh/id_rsa.pub example_user@your_locahost:
On your remote box:
$ mkdir .ssh
$ mv id_rsa.pub .ssh/authorized_keys
$ chown -R example_user:example_user .ssh
$ chmod 700 .ssh
$ chmod 600 .ssh/authorized_keys
$ sudo vi /etc/ssh/sshd_config
Set the following config params:
PasswordAuthentication no
PermitRootLogin no
fab -H
Apache 2 Copyright (c) 2014