testing
This commit is contained in:
7
debian/test-debian-configure-sshd.sh
vendored
7
debian/test-debian-configure-sshd.sh
vendored
@@ -1,8 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$EUID" -ne 0 ]
|
||||
then
|
||||
echo "Please run as root"
|
||||
exit
|
||||
fi
|
||||
|
||||
rm /root/debian-configure-sshd.sh > /dev/null 2>&1
|
||||
rm /home/akanealw/debian-configure-sshd.sh > /dev/null 2>&1
|
||||
|
||||
wget -qO /root/debian-configure-sshd.sh http://192.168.1.50/scripts/debian/debian-configure-sshd.sh
|
||||
chmod +x /root/debian-configure-sshd.sh
|
||||
/root/debian-configure-sshd.sh
|
||||
|
||||
Reference in New Issue
Block a user