06-09-2015 12:37 PM
At the risk of re-opening a can of worms, is there any consideration for adding native SSH and SFTP support for LabVIEW?
Using PuTTy/plink is cumbersome and not cross-platform.
Calling a .NET (or any other) external assembly is cumbersome and not cross-platform.
Labwerx SSH has a terrible licensing model (not to mention the additional cost).
It is 2015, and SSH/SFTP is ubiquitous and not going away. These protocols should be natively supported in LabVIEW.
I have seen this idea on the exchange (http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Native-SSH-and-SFTP-Support/idi-p/1141529), but there hasn't been any movement in 5 years. I would appreciate any news from NI here, even in the negative. If LabVIEW isn't going to support SSH anytime soon, it would be better to find out now.
Solved! Go to Solution.
06-10-2015 03:40 AM
I doubt it is likely to happen any time soon - the LabSSH toolkit is pretty reasonably priced when you compare it to how long it would take you to implement the functionality yourself and there is nothing to stop you from implementing it yourself using the TCP/IP functions which are in LabVIEW. You can of course use the command-line interface to something like WinSCP / PuTTy as well.
I did also find a wrapper that someone had made for an Open Source .NET SSH library called Renci
I downloaded a copy from this thread: http://forums.ni.com/t5/LabVIEW/Plink-PuTTY-works-30-of-the-time-using-System-Exec-vi/td-p/3002261
There is also another implementation of the wrapper here: https://decibel.ni.com/content/docs/DOC-41388
08-21-2015 04:23 PM
For anyone still chasing SSH from LabVIEW try installing Cygwin (it's free.) It has ssh built-in. Just give the full path to the executable when calling it from System Exec.vi.
When you setup Cygwin and ssh go through the process of exchanging keys with the system(s) you are going to log into. It makes command executing quick and painless.
Dirk
11-15-2022 11:20 AM
Hi,
I know this post is a bit old, but now you can use this toolkit :
11-15-2022 02:05 PM
Also starting in LabVIEW 2021, there is an SFTP and SSH sub palette under Data Communication. Apparently SSH is a bit limiting, according to some that have used it. I believe it doesn't allow for prompting of inputs, and there isn't feedback until the command is complete. I haven't used either of these functions yet.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord