Sign Up

lvssh2 by PNR - Toolkit for LabVIEW Download

LabVIEW bindings for libssh2

D Discussion Watch * 1 ↓122
 logo
Version0.4.0.91
ReleasedOct 26, 2024
Publisher PNR
License BSD-3-Clause
LabVIEW VersionLabVIEW>=13.0
Operating System Windows, Mac, and Linux
Project links Homepage   Discussion

Description

lvssh2 provides LabVIEW bindings for libssh2

Supported APIs

- Agent
- Authentication
- Channel
- Known Host
- SCP
- Session
- SFTP

The public key subsystem is not implemented due to a lack of support in OpenSSH and other major SSH servers.
For more details see https://github.com/logmanoriginal/lvssh2/blob/main/docs/libssh2-api.md

Error Codes
Standard error codes are mapped to error range 5000 through 5999 (0x1388 through 0x176F).
SFTP error codes are mapped to error range 6000 through 6999 (0x1770 through 0x1B57).

Limitations
There is currently no built-in support for Linux and macOS. Users need to build the libssh2 shared library for these platforms themselves.

Although this project aims to provide complete bindings for libssh2, there are several limitations users need to be aware of:

- Buffer sizes are limited to 2^31-1 bytes (2 GiB) instead of 2^32-1 bytes (4 GiB). The reason for this is that arrays and strings in LabVIEW are limited to 2^31-1 elements. Additional limits may apply due to memory copies when calling external functions.
- This project includes an extension library to provide functionality that cannot otherwise be realized in LabVIEW. Callers can specify a conditional disable symbol LVSSH2_NO_EXTENSIONS=True to disable the extension library. When this conditional disable symbol is set, then all functions utilizing the extension library will turn into stubs.
- The public key subsystem is currently not implemented because of lack of support in OpenSSH and other major SSH servers. You can find more information at ssh-publickeyd.

Release Notes

0.4.0.91 (Oct 26, 2024)

* Changed SFTP read and write functions to accept Byte Arrays instead of Strings
* Changed build environment from Visual Studio to CMake
* Updated libssh2 to 1.11.1
* Added support for building libssh2 from official and signed source tarballs

This release includes Windows binaries for libssh2 1.11.1

https://github.com/logmanoriginal/lvssh2/releases/tag/0.4.0

logmanoriginal was a contributor to this release


Download Package

Versions
All Contributors

  Post an Idea   Post a Resource

Recent Posts

Forum Posts

Example code for "Getting started with" required
Hello Pascal, many thanks for your effort and contribution. However, I tried to start wit…