diff --git a/azure/provision-vm-azure-step1.sh b/azure/provision-vm-azure-step1.sh deleted file mode 100755 index 80692f0..0000000 --- a/azure/provision-vm-azure-step1.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash - -# as a first step, connect to the newly vm created -# $ ssh -i ~/.ssh/id_rsa_inria testadmin@ -# then as root -# $ sudo su - -# first add a generated pass -# $ passwd - -# Then permit root connection with ssh -sed -e 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' -i /etc/ssh/sshd_config -sed -e 's/PasswordAuthentication no/PasswordAuthentication yes/g' -i /etc/ssh/sshd_config -systemctl restart sshd.service - -# disconnect from the current connection -# $ logout -# reconnect as root -# scp the provision-vm.sh script to the root user of the vm -# $ scp provision-vm.sh root@ -# connect to the vm -# $ ssh root@ -# $ chmod +x provision-vm.sh -# trigger the script provision-vm.sh -# $ ./provision-vm.sh