parent
efc35888a2
commit
4c03a0952b
@ -1,2 +1,16 @@
|
||||
ssh ajohnson@tartarus srvstart.bat
|
||||
#!/usr/bin/env sh
|
||||
#ssh ajohnson@tartarus srvstart.bat
|
||||
#ssh ajohnson@tartarus 'X:\server\alpha9\start-nova9.cmd'
|
||||
ssh ajohnson@tartarus '.\srvstart.bat'
|
||||
#echo "Yay you did it"
|
||||
|
||||
#set timeout 10
|
||||
#set host [lindex $argv 0]
|
||||
#
|
||||
#spawn ssh ajohnson@${host}
|
||||
#expect "Microsoft Windows"
|
||||
#send ".\\srvstart.bat\r"
|
||||
##expect "Logged in successfully"
|
||||
##send "saveandexit 0\r"
|
||||
#expect eof
|
||||
|
||||
|
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/expect
|
||||
#ssh ajohnson@tartarus srvstart.bat
|
||||
#ssh ajohnson@tartarus "X:\server\alpha9\start-nova9.cmd"
|
||||
#echo "Yay you did it"
|
||||
|
||||
set timeout 10
|
||||
set host [lindex $argv 0]
|
||||
|
||||
spawn ssh ajohnson@${host}
|
||||
expect "Microsoft Windows"
|
||||
send ".\\srvstart.bat\r"
|
||||
#expect "Logged in successfully"
|
||||
#send "saveandexit 0\r"
|
||||
expect eof
|
||||
|
Loading…
Reference in new issue