#!/usr/bin/bash -x # re-secure ssh sed -i "/^#\?PasswordAuthentication/d" /etc/ssh/sshd_config sed -i "/^#\?PermitRootLogin/d" /etc/ssh/sshd_config echo "PasswordAuthentication no" >> /etc/ssh/sshd_config echo "PermitRootLogin yes" >> /etc/ssh/sshd_config # VirtualBox Guest Additions # https://wiki.archlinux.org/index.php/VirtualBox pacman -S --noconfirm linux-headers virtualbox-guest-utils virtualbox-guest-modules-arch nfs-utils echo -e 'vboxguest\nvboxsf\nvboxvideo' > /etc/modules-load.d/virtualbox.conf systemctl enable vboxservice.service systemctl enable rpcbind.service # Clean the pacman cache. yes | pacman -Scc sync