Native SSH and SFTP in LabVIEW

At the risk of re-opening a Pandora's box, there is no consideration to add native SSH and SFTP support for LabVIEW?

Using PuTTY/plink is heavy and not multiplatform.

Calling a .NET (or other) an external assembly is heavy and not multiplatform.

Labwerx SSH has a license model terrible (not to mention the extra cost).

It is the year 2015, and SSH/SFTP is ubiquitous and does not go far. These protocols must be present natively in LabVIEW.

I saw this idea on the Exchange (http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Native-SSH-and-SFTP-Support/idi-p/1141529), , but there is no movement in 5 years. I'd like to get news of NEITHER here, even in the negative. If LabVIEW does not take over SSH any time soon, it would be better to know now.

I doubt that this is likely to happen any time soon - the LabSSH Toolbox is a fairly reasonable price when compared to how long it would take to implement the feature yourself and there is nothing for you prevent its implementation yourself using the TCP/IP functions located in LabVIEW. Of course, you can use the command line to something like WinSCP / PuTTy as well.

I also found a wrapper that someone had done for an Open Source .NET SSH library called in-depth

I downloaded a copy of 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 an alternative implementation of wrapper here: https://decibel.ni.com/content/docs/DOC-41388

Tags: NI Software

Similar Questions

  • SSH and SMB service starts not more

    Dear community,

    After you have installed the Add-it-Analyzer Log my RN10200 started having some problems that I was not able to see the shares via Samba more. I tried to connect via SSH to see what is the problem, but also the SSH no longer works. Since the web-admin panel still works, I tried to enable SMB and SSH in the Panel, but it briefly passes green and gray then again. I also tried to uninstall the add-on, but now get a package manager error. I then tried to reinstall the operating system using the boot option, but that did not help either.

    I removed the hard disks in the unit and their read-only to see what is poorly mounted. There, I found some permissions to be set wrong on the system partition:

    / mnt/systemOld # ls - la
    Total 124
    drwxr-xr-x 26 root root 4096 May 19 21:03.
    drwxr-xr-x 4 root root 4096 24 May 07:04...
    drwxr-xr-x 2 root root 4096 may 5, 2015 apps
    drwxr-xr-x 2 root root 4096 19 May 19:51 bin
    drwxr-xr-x 2 root 4096 17 June 2012 boot root
    drwxrwxrwt 2 root 4096 5 may 2015 given root
    drwxr-xr-x 4 root root 4096 19 May 19:51 dev
    drwxr-xr-x 79 root root 4096 19 May 21:32 etc.
    drwxr-xr-x 6 guest invited 4096 19 May 19:51 frontview
    drwxr-xr-x 2 root 4096 17 June 2012 home root
    lrwxrwxrwx 1 comments 5 houses 18 July 2015-> / home
    drwxr-xr-x 14 Guest invited 4096 19 May 19:51 lib
    drwxrwxrwx 2 Guest invited 16384 5 may 2015 lost + found
    drwxr-xr-x 2 root root 4096 media of 18 November 2012
    drwxr-xr-x 3 root root 4096 mnt 17 June 2012
    drwxr-xr-x 9 root root 4096 Nov 26 10:59 opt
    drwxr-xr-x 2 root root 4096 proc 17 June 2012
    -rwxrwxrwx 1 comments 1024 may 5, 2015 .rnd
    drwx - 5 root root 4096 May 19 19:51 root
    drwxr-xr-x 3 guest invited 4096 19 May 17:52 rsyslog
    drwxr-xr-x 2 root 4096 run of 18 August 2015 root
    drwxr-xr-x 2 4096 invited guest 19 May 19:51 sbin
    drwxr-xr-x 2 root root 4096 selinux 10 June 2012
    drwxr-xr-x 2 4096 comments 18 November 2012 srv
    drwxr-xr-x 2 root root 4096 sys 8 February 2013
    drwxrwxrwt 7 guest invited 4096 19 May 21:32 tmp
    -rwxrwxrwx 1 invited guest 33 19 May 17:48 .update_fail
    drwxr-xr-x 10 root root 4096 Nov 26 10:59 usr
    drwxr-xr-x 18 root root 4096 May 19 19:51 var

    Instead of:

    ls - la /.
    total 120
    drwxr-xr-x 26 root root 4096 23 May 07:40.
    drwxr-xr-x 26 root root 4096 23 May 07:40...
    drwxrwxrwx 1 root root 116 23 May 20:45 apps
    drwxr-xr-x 2 root root 4096 23 May 07:39 bin
    drwxr-xr-x 2 root 4096 17 June 2012 boot root
    drwxr-xr-x 1 root root 250 given may 22, 10:36
    drwxr-xr-x 13 root root 3480 23 May 20:53 dev
    drwxr-xr-x 79 root root 4096 23 May 20:46 etc.
    drwxr-xr-x 6 root root 4096 23 May 07:39 frontview
    drwxr-xr-x 1 admin admin 0 19 May 22:17 home
    drwxr-xr-x 14 root root 4096 23 May 07:39 lib
    drwx - 2 root root 16384 19 May 22:17 lost + found
    drwxr-xr-x 2 root root 4096 19 May 22:49 md124
    drwxr-xr-x 4 root root 80 May 23 20:53 media
    drwxr-xr-x 4 root root 4096 24 May 07:04 mnt
    drwxr-xr-x 9 root root 4096 May 13 16:48 opt
    root of Dr-xr-xr-x 188 root 0 1 January 1970 proc
    -rw - 1 root root 1024 19 May 22:17 .rnd
    drwx - 3 root root 4096 23 May 07:39 root
    drwxrwxr-x 26 root admin 820 run 23 May 20:53
    drwxr-xr-x 2 root root 4096 23 May 07:39 sbin
    drwxr-xr-x 2 root root 4096 selinux 10 June 2012
    drwxr-xr-x 2 root root 4096 srv 18 November 2012
    Dr-xr-xr-x 11 root root 0 may 24 07:05 sys
    drwxrwxrwt 7 root root 4096 24 May 07:17 tmp
    -rw - r - r - 1 root root 0 23 May 07:38 .update_success
    drwxr-xr-x 10 root root 4096 13 May 16:48 usr
    drwxr-xr-x 17 root root 4096 23 May 07:39 var

    could be the cause of the problem? Other ideas how to get SSH and SMB work return service or more diagnostic information?

    I have a backup of everything so a complete reset would be an option. However, I would like to understand the problem and solve it rather by using telnet, as seems to be a simple problem? It would be enough to reset permissions? What else could be causing this behavior?

    Thanks for the tips

    Best

    Steffen

    You will have to go folder by folder and read all the files, he complains and chown the permissions back to root instead of comments. Loïc but eventually you can get everything again.

  • Did you come out ssh and now cannot use ssh - this had to happen one day

    Pro2 OS6 v 6.4.0

    SSH

    I logged in ssh [email protected]

    No files were open, but before I "exit" the session that the unit did a stop/delayed. I had completely lost track of time.

    Now, I can't ssh in. I've disabled the ssh, rebooted, activated the ssh and tried again.

    It happens just to expire without asking for my password.

    Is there one solution other than a reset of the OS or the factory re - install?

    Thank you very much

    David

    I don't know if everybody looked at it but he came good again after a few days.

    I have no idea why he decided to ask for a password... but it works.

    David

  • How to check the CPU usage and paging using LabVIEW

    Hi guys,.

    I build an application that is used to check the CPU usage and paging using LabVIEW. How can I do?

    any help, suggestions or advice will be greatly appreciated...

    Kind regards

    Prashant

    Hello

    If you plan to build your app for Windows, you can use .NET classes. (System.PerformanceCounter), there is a simple example with LabVIEW:

    C:\Program NIUninstaller Instruments\LabVIEW 2010\examples\comm\dotnet\SimpleTaskMonitor.llb

    Also, you have several screws that you can use to verify information about the processor.

    Kind regards

  • Import excel 2003 and 2007 files that contains numbers and text in LabVIEW

    Hello

    I try to import *.xlsx files (2007) containing numbers and text in LabVIEW and som *.xls (2003), but I can't make it work. First column with the text and the second with numbers.

    Can someone help me with a small example? Is there an easy way?

    FYI

    I have access to all packages and addons for LabVIEW through my work (University)

    Best regards

    Simon

    There is an example usage of the reporting tool.

    http://decibel.NI.com/content/docs/doc-4965

    It should give you a starting point.

    I hope this helps.

  • How to use Ssh and Https for PC8164 PC5524

    Hello!

    How to use SSH and Https to connect to PC8164 and PC5524?

    Kind regards!

    For SSH configuration, we want to watch the 1651 page controls, user guide.

    (config) #crypto console key generate rsa

    RSA key generation started, it may take a few minutes...

    Complete RSA key generation.

    #crypto console key (config) generate dsa

    DSA key generation started, it may take a few minutes...

    DSA key generation complete.

    Console (config) #ip ssh server

    For HTTPS orders, we look at page 255, 1770-1778, CLI Guide.

    generate a crypto certificate of console (config) # 1

    Console (config-crypto-cert) #key - generate

    output console(config-crypto-CERT) #.

    Console (config) # ip http secure-certificate 1

    Console (config) # ip http secure server

  • Newbie wanting to AIR w / extensions to native code and the Protocol of Android accessory

    My interests include prototyping and very specific to very specific real-world applications of programming solutions.  So I bought a Playbook after viewing the quick "prototyping" video in this blog:

    http://devBlog.BlackBerry.com/2011/12/BlackBerry-PlayBook-Arduino/

    I tell myself I can do cela or something similar with PIC Basic Pro and a Microchip IC.  Although it has been nearly six months, from what I can tell, the RIM developers have failed to deliver on explaining how to use native code and the ancillary Protocol Android to connect in series on client's port to the mini-USB of the Playbook.

    Is RIM people please, show us how set up the programming environment, use the code, the mini-USB port on client Playbook, the adapter USB (where to buy, what is it exactly?), so we can use the USB client connected to an Integrated Circuit Programmable to connect in series with an AIR running on the Playbook application.

    Kenneth Mark Klausner

    How this kind of thing is that you have the hardware (Controller USB etc.), and there different registers, buffers, etc. that must be handled.  The first layer of software, what made this manipulation, is a device driver. While in some operating systems (Linux, for example), you can write yourself, or port code Besides, material in the PlayBook is accessible only by the drivers as part of the operating system, which means that the RIM should provide their.

    These drivers are may be incomplete. We do not know that for some.

    Drivers expose a particular interface to the next higher step of the software, an interface that must be respected. This interface is generally quite low, and the driver can support the features that cannot be exposed to third party software, so for this and probably other reasons, we can not directly access (and are prevented by security mechanisms).

    There is another layer of software on top of the pilot, commonly called a library. This library is also provided by RIM, as part of the operating system.

    This library can be incomplete as well. We do not know the details, but I suspect someone who knows this level of the design of the system and who attended the BB10 Bluetooth and USB discussion group would be able to interpret what they heard there to clarify.

    It's this library which provides what we call a bit of hand-wavingly API 'USB '. This is an interface in C language, with a set of data and calls structure function definitions that enable higher level code perform different operations related to USB.

    If you want to write a DONKEY, you write about this library, not the level of driver and not material. You have no choice in this matter, as it is applied by the security of the OS.

    So to sum up, if we refer to 'USB API' they're talking about essentially the library routines, and it is necessary to talk to this API to get whatever it is the case here.  The API can be described in the header files (there is something), or maybe he's going to be an API different than what I see out there. Whatever it is, it is undocumented in other places at the moment, so all who want to enter this need to make much low level experiment (talking to the library).

    They can have the documents which cover this and perhaps code samples to talk to the library. If the version of the operating system we have has the incomplete versions or buggy drivers or libraries, this could explain why they have not pushed this documentation and code for us.

    I think that I heard that they are gathering input (requirements, use cases, comments) from people in this session.  Who tells me that they are still working on some details, and when they are at a stage like that they simply don't tell us publicly where they are, deadlines, or what it will look like when it is done.

    And so expect.

  • Enable SSH and disable Telnet

    I try to activate SSH on a 3560G switch so I can't disable Telnet.

    Some referred to a "sh-ssh' to see if I have ssh on the switch. It does not show. I also have 'transport input ssh' and ssh is not a valid input method.

    I've decided to update the IOS on the switch. I am now at 12.2 (52) SE.

    But I can not configure SSH. I get the same results as mentioned above.

    Since it is the latest version of IOS can't I not assume that it contains SSH? Or do I need to download another version of IOS who specifically has SSH in?

    Thanks for your help

    There are two versions of the images switch Catalyst (K9/SSH and SSH). If you do a ' show versi
    on "it displays the latest version of IOS running on the switch. If you run a non - ssh version, you must upgrade to a ssh (K9) image.

    Concerning

    Farrukh

  • What is the difference between native SDK and Cascades/qt?

    Hi all

    Can someone tell me what is the difference between native SDK and Cascades/QT?

    When I need to go to NativeSDK and when I go to waterfalls?

    These two works in BB 10 or only Tablet?

    Please delete me, I can't live without knowing this.

    Thanks in advance.

    Hi Smiley,

    Yes, you need to install the two NDKs. They coexist and separate IDEs and install files.

    See you soon

    Swann

  • BlackBerry Smartphones bb9900 - icons for the native tasks and memopad apps can be moved to the home screen

    I want the icons for the native "tasks" and "Notepad" apps in OS7 appears on the home screen of my BB9900.  The icons currently on the "common" screen only and the apps work from there.

    I've tried holding down the button menu until a menu jump to the top, but the menu does not include the options of 'move' or 'move to folder '.  In fact, the options of 'move' do not seem to appear for all elements of the 'common' screen

    Someone knows what to do?  FYI, I use the version of the b-berry for Mac desktop software.

    Bernie

    Hello

    "Frequent" is a dynamic screen; your BB automatically there are some things that you use frequently. There is therefore, no manual way to move that you describe (since its automatic and dynamic, based on your usage). On the contrary, what you find is the master for these applications... icon probably they are inside your "Applications" folder, normally visible on the screen "All".

    Good luck!

  • SSH and Telnet access for catalyst 4503 list

    I was wondering the structure of command to apply an access list to ssh and telnet on a catalyst 4503. I keep a list of access for indoors and outdoors. Can afford two different IPs from the outside? Thank you

    You will need create an access list indicating the networks/hosts that you want to allow.

    -Example

    access-list 10 permit 10.10.1.10

    access-list 10 permit 10.10.2.10

    access-list 10 permit 127.1.0.0 0.0.255.255

    access-list 10 permit 192.168.1.0 0.0.0.255

    So you want to put this list of access on the VTY interfaces.

    -Example

    line vty 0 4

    access-class 10

    entry ssh transport * if you only want to SSH *.

    line vty 5 15

    access-class 10

    entry ssh transport * Ditto *.

    Now you can do all this with * line vty 0 15 * but, it gives you a better idea of what is happening. It is a simplistic configuration. Remember that it is advisable not to allow ssh. If you want to allow at the same time, let him * transport input ssh * out of the configuration.

    I hope that gives you an idea of the structure. If this is not the case, let me know.

  • Start a virtual machine on Linux using Workstation via ssh and vmrun 10.0

    I have 10 Workstation under Linux of Kali.

    I installed a Windows 7 VM and when I connect to the computer using ssh - X, start vmplayer, it works very well.

    If I connect via ssh and start using vmrun I get operation cancelled.

    "vmrun start/root/vmware/Windows\ 7. 7/Windows\ vmx nogui

    "Error: the operation has been cancelled".

    I tried this a normal ssh and an X connection using both-x and - XY.

    Any ideas? I got a glance at for a while and most people seem to be solved using the nogui option but it does not work in my case.

    Try...

    WS t vmrun start/root/vmware/Windows\ 7. 7/Windows\ vmx nogui

    Or t reader if you use VMware Player instead of VMware Workstation.

  • Updated our Amazon legacy native application, and now our subscribers cannot see any problem before later, why?

    We have updated our Amazon app for our multi-folio ed. pro legacy native application and now our subscribers cannot see previous issues, they have bought. They are not available for download yet. Why? A Subscriber (Kindle Fire HDx) said that ceramics monthly it has one question and it is the may issue but not the June/July/August issue (the last issue). I tried on our Kindle Fire and all I can see is the last number and the toll-free number we offer. I do not see another question that I already bought or back issues and I can just see the last number because we offer a toll-free number to all clients of the time. I need to get this resolved as soon as possible.

    Thank you

    Melissa

    The native Viewer does not support in-app Amazon purchase, and we withdraw support for Amazon in the heritage with our version of the R31 Viewer.

    You must return to the Amazon with your previous, legacy, Viewer and leave in the store.

    Neil

  • Can change script InDesign native Menus and panels?

    I'm using CS5.

    I want to add/remove/edit elements InDesign native menus and panels. Is this possible at all through the script?

    TIA

    mlavie

    The only way to remove menu items or change the native user interface elements is in C++...

    Substances

  • Implement SSH-2 and SFTP

    One of our main service providers began offering an option that will decrease the amount of mundane work that we do on a monthly basis.

    Currently, connect us to our service provider and load reports web site down, it need to update our access database. We're doing a report at the same time.

    The service provider has offered a new community option it will down load reports directly to our system on a regular basis.

    The difficulty we have is that service provider requires that we have "a SFTP server SSH-2 with the standard port of the 22 industry or 115".»

    I can't find anywhere at Microsoft where SFTP is supported. Anyone has any suggestions as to how we can implement 'SFTP SSH-2'?

    Where do we get if necessary software?  How to install the software you?

    As you can see we want to implement our new option but can not find where MS is supported.

    I hope I'm missing something...

    Thank you

    Greg

    Hi Greg,.

    Thanks for posting the question on the Microsoft Community Forums.

    According to the description, it seems you are trying to find forums for SFTP support.

    I recommend you post the same question in the TechNet Forums and see if they can help you with the same.

    TechNet Server forums: http://social.technet.microsoft.com/Forums/en-US/category/windowsserver

    If you have suggestions/questions more related to Windows feel free to post and we will be happy to help you.

Maybe you are looking for