#!/bin/bash
scp ./createUsers.sh root@$1:/root
scp ./logins.csv root@$1:/root
ssh root@$1 "chmod -x /root/createUsers.sh"
ssh root@$1 "bash /root/createUsers.sh"
ssh root@$1 "rm /root/logins.csv"
ssh root@$1 "rm /root/createUsers.sh"
exit
