Git Product home page Git Product logo

libssh2lv's People

Contributors

volks73 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

libssh2lv's Issues

Implement GitHub Action for building and releasing

Investigate converting the very manual, but well documented, process of building the library using GitHub Actions for Windows, macOS, and Linux. The build process is pretty straight-forward with a CMake-based build. However, I current have to manually build on each of the platforms, bundle together, and upload to the Releases page for this project. It would be nice to just git push --tags and have a release created from the tag branch.

Improve unit and integration tests

The integration tests use the old namespace ("labssh2") and functions. The integration and units tests are severely lacking and a more complete test suite needs to be implemented.

Libssh2 new release

Hi!
I'm having trouble using the labview library, the problem could be with my ssh server... I noticed a major update on libssh2 1.11 May 30 2023 and your DLL is from 2022.

I'm having trouble with VS 2019, I'm not much familiar with that... Is it a good idea to recompile the DLL to benefit the libssh2 updates or its worthless?

I'll see where I can get with visual studio, it's a good learning opportunity for me actually. But if you may release a new build I'd be more than happy.

Unloading libssh2lv.dll problem

Hello,

I have problem with unloading libssh2lv.dll in LabView. When i use this example from Ni.COM about How to Load and Unload a DLL Dynamically in LabView it doesn't Unload properly with initialize function. I cannot remove or replace this dll from harddrive until LabView is Closed.
The problem first occured when I used fieldrndservices/libssh2-labview toolkit and example from its README.md. After executing the code something was still holding this library until LabView is closed.
I don't think it should act like that - these shutdown functions should unload this library properly but it doesn't.
Is there any chance to fix it?

Add support for `libssh2_agent_get/set_identity_path` function

libssh2 v1.9.0 introduced the libssh2_agent_get_identity_path and libssh2_agent_set_identity_path functions. LabVIEW-friendly wrapper functions should be created for each of these functions.

However, as of 2020-03-31, there is no documentation for either of these functions and it is unclear on their functionality. The documentation links at the libssh2 for each functions result in a 404 response. It might be worth holding off on implementing these functions until after some investigation and research has been conducted.

Add wrapper for libssh2_trace functions

The libssh2.org library provides the libssh2_trace() function to aid in debugging. This function is currently not available in this library, which makes it hard to debug and troubleshoot. A LabVIEW-friendly wrapper function should be added.

The default is to write debugging statements to STDERR. This can cause a problem with LabVIEW because there is no STDERR. In other words, I am not sure if the debugging statements will appear if tracing is turned on. Will a CMD console display automatically? Will the debugging statements only appear if LabVIEW is started from the command line (CMD)?

There is the libssh2_trace_sethandler which can be used to redirect the debugging output from STDERR to another location, like a buffer or log file. To truly implement the debugging facility a LabVIEW-friendly output will need to be implemented. Most likely a wrapper function that takes a path to a file and this library automatically creates the function pointer to pass to the libssh2 library.

Enabling debugging during the build of the library also needs to be enabled for the libssh2_trace to be available.

Use of vcpkg.io for dependency management

Hello

I have had great success with building dependencies for libraries like this using vcpkg from Microsoft - it integrates with CMake (but needs to be version 3.20 or so) but does all the heavy lifting when it comes to building OpenSSL etc on Windows, Linux and Mac.

It really simplified the building for my project asynchronous system exec library if you wanted to get a preview

Cheers

John

Bump to libssh2 v1.10

A new version of LIBSSH2 was released on August 28th, 2021. This newer version should be integrated into this library. Note, there appears to be some new errors and possibly some new functions that will need some wrappers.

Bytes available at port

Is there a way to determine if there are bytes available at the port before doing a read or is my only option to try to read and use the timeout output?

Bump libssh2 dependency to v1.9.0

libssh2 v1.9.0 was released on June 20, 2019. It includes support for ECDSA and ED25519 keys with OpenSSL along with a some fixes for building with OpenSSL, specifically v1.1.1. These features, among others, and fixes would be appreciated in in upstream dependent projects.

Note, libssh2 v1.9.0, also includes the addition two new functions to the Agent-related functions.

Windows XP Supported?

I'm trying to use the library in windows xp, is it suppose to work? I'm getting this error.

image

Thanks

Bump OpenSSL dependency

The current version of OpenSSL is v1.1.1l. A new version, v1.1.1m, was released. There is also the new main branch of OpenSSL v3.0. The libssh2 library added support for OpenSSL v3.0 as of v1.10.0. It might be time to bump to the v3 of OpenSSL.

Reading the "prompt" message from the remote device

when I use putty for SSH comms, I can read the prompt from the device I am talking to. I can easily see that my last command was completed and the device is ready for the next. Is this possible using libssh2lv tools?

Bump libssh2 to v1.11.0

The underlying libssh2 library released a new minor version, v1.11.0, in May 2023. The last release was v1.10.0 back in 2022. A new build of this library using v1.11.0 should be created.

Connection lost and following attempt to read/write causes labview crash

Hello,

I am currently struggling with the following issue:

I am using the toolkit to connect to linux based device. Normally, communication works okay. However, it happens from time to time that given device goes off. In this case, I am expected to wait until it restarts and connect back. Problem is, that toolkits API sometimes does not indicate that connection is lost, at least not immediately. The functions for read and write still behaves as if the connection was on. One problem is therefore that I would need some sort of indication for this. Whats more, when trying to write/read when the disconnect happens, it causes labview to crash (apparently because of DLL). Do you please have any suggestions, what might be the root cause and what can I do to avoid this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.