summaryrefslogtreecommitdiff
path: root/definitions/jessie/base.sh
diff options
context:
space:
mode:
Diffstat (limited to 'definitions/jessie/base.sh')
-rw-r--r--definitions/jessie/base.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/definitions/jessie/base.sh b/definitions/jessie/base.sh
index b7ee9c8..e07c289 100644
--- a/definitions/jessie/base.sh
+++ b/definitions/jessie/base.sh
@@ -2,11 +2,15 @@
apt-get -y update
#apt-get -y install linux-headers-$(uname -r) build-essential
#apt-get -y install zlib1g-dev libssl-dev libreadline-gplv2-dev
-apt-get -y install curl unzip
+apt-get -y install curl unzip vim tmux
# Set up sudo
echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/vagrant
+# jessie
+sed -i 's/PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config
+echo 'PasswordAuthentication no' >> /etc/ssh/sshd_config
+
# Tweak sshd to prevent DNS resolution (speed up logins)
echo 'UseDNS no' >> /etc/ssh/sshd_config