Files
agent-bounty-protocol/fix_tsenyang2.sh
OG T ead38a37f9
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s
feat: Phase 4 A2A Autonomous Lead Generation and P2P DHT Discovery
2026-06-08 20:34:56 +08:00

32 lines
739 B
Bash
Executable File

#!/usr/bin/expect -f
set timeout -1
set jump_host "wooo@192.168.0.110"
set target_host "ollama@192.168.0.188"
spawn ssh -J $jump_host $target_host "echo 0936223270 | sudo -S docker stop agent_bounty_web agent_bounty_agent agent_bounty_db agent_bounty_redis"
expect {
"*assword:*" {
send "0936223270\r"
exp_continue
}
eof
}
spawn ssh -J $jump_host $target_host "echo 0936223270 | sudo -S docker rm agent_bounty_web agent_bounty_agent agent_bounty_db agent_bounty_redis"
expect {
"*assword:*" {
send "0936223270\r"
exp_continue
}
eof
}
spawn ssh -J $jump_host $target_host "echo 0936223270 | sudo -S docker start tsenyang-website"
expect {
"*assword:*" {
send "0936223270\r"
exp_continue
}
eof
}