Sign Up

lvssh2 by PNR - Toolkit for LabVIEW Download

LabVIEW bindings for libssh2

D Discussion Watch * 1 ↓153
 logo
Version0.6.0.98
ReleasedFeb 10, 2025
Publisher PNR
License BSD-3-Clause
LabVIEW VersionLabVIEW>=17.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

Examples
All examples are available in Example Finder in directory view under PNR/lvssh2.

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 macOS.

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.6.0.98 (Feb 10, 2025)

- Added OpenSSL support for Windows
- Added Linux support for Wait Socket

This release includes Windows and Linux binaries for libssh2 1.11.1 and Windows binaries for OpenSSL 3.4.0

https://github.com/logmanoriginal/lvssh2/releases/tag/0.6.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…