1 changed files with 43 additions and 0 deletions
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
#!/usr/bin/expect -f |
||||
|
||||
#Haerin |
||||
spawn ssh -p4848 telakses@haerin.cayangqu.com './buzz/worker/JKWTerbaik/log/rekap.sh' |
||||
expect "password:" |
||||
send "Rahasia123!\r" |
||||
interact |
||||
sleep 1 |
||||
|
||||
#Hyein |
||||
spawn ssh -p4848 telakses@hyein.cayangqu.com './buzz/worker/JKWTerbaik/log/rekap.sh' |
||||
expect "password:" |
||||
send "rahasia123!\r" |
||||
interact |
||||
sleep 1 |
||||
|
||||
#Hibiki |
||||
spawn ssh -p4848 telakses@hibiki.cayangqu.com './buzz/worker/JKWTerbaik/log/rekap.sh' |
||||
expect "password:" |
||||
send "Rahasia123!\r" |
||||
interact |
||||
sleep 1 |
||||
|
||||
#Freya |
||||
spawn ssh -p4848 telakses@freya.cayangqu.com './buzz/worker/JKWTerbaik/log/rekap.sh' |
||||
expect "password:" |
||||
send "2020 Rahasia123!\r" |
||||
interact |
||||
sleep 1 |
||||
|
||||
#POC AXA |
||||
spawn ssh -p4848 telakses@poc-axa-mandiri.tel-access.com './buzz/worker/JKWTerbaik/log/rekap.sh' |
||||
expect "password:" |
||||
send "Rahasia123!\r" |
||||
interact |
||||
sleep 1 |
||||
|
||||
#Yuvia |
||||
spawn ssh -p4848 vconf@yuvia.cayangqu.com './buzz/worker/JKWTerbaik/log/rekap.sh' |
||||
expect "password:" |
||||
send "2020 salah lagi\r" |
||||
interact |
||||
sleep 1 |
Loading…
Reference in new issue