14 lines
332 B
Bash
14 lines
332 B
Bash
#!/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
|