19 lines
2.9 KiB
Bash
Executable File
19 lines
2.9 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.2 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.3 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.4 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.5 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.26 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.31 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.33 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.35 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.42 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.43 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.44 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.51 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.52 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
ssh -o "StrictHostKeyChecking no" -i /root/.ssh/server-root root@192.168.1.53 "echo --------------; hostname; rm /var/mail/root > /dev/null 2>&1; rm /var/mail/akanealw > /dev/null 2>&1; echo mail deleted"
|
|
exit 0
|