Ajouter LeScript.sh
This commit is contained in:
parent
ef58899c8e
commit
6efe828a5a
7
LeScript.sh
Normal file
7
LeScript.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
echo "Sur quelle adresse IP déployer?"
|
||||
read address
|
||||
scp ./createUsers.sh root@$address:/root
|
||||
scp./logins.csv root@$address:/root
|
||||
ssh root@$address "bash /root/createUsers.sh"
|
||||
ssh root@$address "rm /root/logins.csv"
|
Loading…
x
Reference in New Issue
Block a user