LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to communicate with SSH using Labview

Hi i am trying to access the server in the university and I was told by technology support center that i had to access the server using an SSH protocol. Is there a way to do this in Labview? 

 

Thank you

 

 

Guillermo 

0 Kudos
Message 1 of 4
(7,517 Views)

I have done this in the past by using a command line version of putty called plink.exe

 

http://www.chiark.greenend.org.uk/~sgtatham/putty/

 

call plink.exe with the systemexec.vi using the command line parameters of any ssh commands

 

 

- James

Using LV 2012 on Windows 7 64 bit
0 Kudos
Message 2 of 4
(7,505 Views)
If you have the Internet Toolkit, you should be able to use the method described by NathanK in this thread.  Otherwise, there are some other options available such as the one James pointed out.
Alex Person
NI-RIO Product Support Engineer
National Instruments
0 Kudos
Message 3 of 4
(7,479 Views)

Hi James_R

 

currently i am using plink to talk to a model, i can access the model successful by using System Exec in labview with command: C:\putty\plink.exe username@ -ssh -pw. but when i try to send some commands to the model with "-m file name", it prompt an alarm: Remote exit code unavailable, have you met this issue before? thanks.

0 Kudos
Message 4 of 4
(6,777 Views)