Welcome, Guest
Please Login or Register.    Lost Password?

Automatisation of building GGTN telnet tunnel connection
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Automatisation of building GGTN telnet tunnel connection
#852
Automatisation of building GGTN telnet tunnel connection 12 Years, 6 Months ago Karma: 1
Hello All,

in time I have asked Graphon about script editor similar to Go-Global Release 1.65 in Go-Global TN Release 2.1.0 and higher.

This feature is on "Candidate list".

Here is another possible way: Using Autoit V3
see: www.autoitscript.com/autoit3/index.php

Follow a sample of the script:
####################
; Run GGTN
Run("C:\Program Files\GraphOn\GO-Global TN\ggtn.exe")
;wait for active
WinWaitActive("GO-Global TN Configuration")

;first hop building UX Box
Send("<Host1>{ENTER}")
Sleep(500)
Send("<user1>{ENTER}")
Sleep(1000)
send("<psw1>{ENTER}")
Sleep(1000)

;second hop building Cisco router
send("telnet router{ENTER}")
Sleep(1000)
send("<pswr>{ENTER}")
Sleep(1000)

;last hop
send("telnet 10.x.x.x{ENTER}")
Sleep(1000)
send("<usr2>{ENTER}")
Sleep(1000)
send("<psw2>{ENTER}")
Sleep(1000)

; start ggtn
send("/opt/graphon/bin/ggtn{ENTER}")
Sleep(5000)

;wait for active window
WinWaitActive("Authentication")
send("<usr3>{TAB}")
Sleep(1000)
send("<psw3>{ENTER}")

;end of script
Exit
###############

I hope it help somebody, even as inspiration
beva
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: troy, Andyl