script access to STP
I would like to be able to connect to the STP to download data from with a script (bash or perl etc).
Has anyone been able to do this before?
We have IPSM and need to use telnet over ssh which makes it quite complicated.
Obviously it is not straight forward as the SSH does not need username and password but the output needs to be recognised and interacted with.
We normally login with the following
ssh -o ServerAliveInterval=10 -f -N -L 8303:localhost:23 [IPSM-IP] ; telnet localhost 8303
Has anyone done something similar before or know how to do this?
Thanks in Advance