From 66cb0efb90e0be59238dfa5cb3f6208b40324452 Mon Sep 17 00:00:00 2001 From: mfrais <119472921+mfrais@users.noreply.github.com> Date: Fri, 12 Jan 2024 22:25:29 +0700 Subject: [PATCH] add script for rekap JKWTerbaik --- rekapJKW.sh | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 rekapJKW.sh diff --git a/rekapJKW.sh b/rekapJKW.sh new file mode 100755 index 0000000..711b0c8 --- /dev/null +++ b/rekapJKW.sh @@ -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 \ No newline at end of file