projects
/
dell-switch
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
toggle switch port using snmp
[dell-switch]
/
wap-ssh.sh
1
#!/bin/sh
2
3
log=/dev/shm/wap
4
test -d $log || mkdir $log
5
file=`echo $* | sed 's/ */_/g'`
6
ssh -i /home/dpavlin/.ssh/wifiadmin -o StrictHostKeyChecking=no root@$* | tee $log/$file