InstallScripts
: do
File do,
149 bytes
(added by admin,
9 years ago
)
Execute commands remotely on classroom machines
Line
1
#!/bin/bash
2
#
3
for
i in
`
cat pcs
`
4
do
5
echo
"$i"
6
echo
"------"
7
#ssh "root@$i" $2 $3 $4 $5 $6 $7 $8 $9
8
ssh -c blowfish
"root@$i"
$*
9
done