LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I setup ssh via TCP port forwarding?

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!!!
0 Kudos
Message 1 of 2
(3,045 Views)
I think the following KB is exactly what you're looking for:

KB 2VD8R0EV: How Can I Use the SSH TCP Communications Protocol With National Instruments Software?

Good luck. 🙂

Kileen
0 Kudos
Message 2 of 2
(3,027 Views)