Mar 23, 2012 at 11:40 PM
Edited Mar 24, 2012 at 12:10 AM
Thank you for your answer.
Regarding runnig batch from client side via ssh it is possible. Commerial terminal program like Reflection created by Attachmate can do this and also ssh.net has such possibility - it allows you to send string direct from your code and react for incomming
strings sended by server.
Reflection has special object called Session which offers many methods to control session from VBA marcos and such macro you can run from your terminal. Session object has for example Transmit method for sending string (commands) and Waitfor/DefineEvent
method when you want to check if specific string (answer) was received from server. This allow you for example to send your login name as an answer for incomming string 'login:' received from server.
What a pitty that terminals doesn't support it - it would be useful for advanced purposes - like doing some configuration tasks on server - fully automatically.