diff options
author | kwadronaut <kwadronaut@leap.se> | 2015-11-07 22:49:35 +0100 |
---|---|---|
committer | kwadronaut <kwadronaut@leap.se> | 2015-11-07 22:49:35 +0100 |
commit | 06c98e8cdaddda13fa81d2bc975e0d887e7f4a25 (patch) | |
tree | 7a342031b97d3d554e25ab1e9cd6ad776d3227d9 /definitions/jessie/base.sh | |
parent | da383fba8c2ef0a3718ebc9899572cacee198ed6 (diff) |
update jessie templates
Diffstat (limited to 'definitions/jessie/base.sh')
-rw-r--r-- | definitions/jessie/base.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/definitions/jessie/base.sh b/definitions/jessie/base.sh index 72e6e4e..e07c289 100644 --- a/definitions/jessie/base.sh +++ b/definitions/jessie/base.sh @@ -7,6 +7,10 @@ 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 |