I want to use LabVIEW to run commands on some Unix systems via ssh from a Mac OS X system (which has ssh built into the terminal). The command I sent (from the terminal) was 'ssh -L 1234:localhost:22 server@server.com'. Then I run LV (using the TCP example on port 1234), & the only message I get back is 'SSH-2.0-3.2.0 SSH Secure Shell (non-commercial)'. Does anyone know if this is a syntax error on my part or a LabVIEW limitation?
My other two ideas to tackle this problem were: A) use putty for unix and compile it to run on OS X (I think it can be done but it looked like a lot of work) B) use the system_exec.vi and send commands. The main problem with B is that I can only send 1 command per terminal session so it may get difficult to manage - this wouldn't be an issue if the system_exec let you retarget the same window/terminal session.
Any help is much appreciated!!!