Jump to content
tschak909

Asking for Firmware Help: Replace libssh2 with libssh.

Recommended Posts

Posted (edited)

For anyone who wants to hack on the #ESP32 Firmware:

 

The code in lib/libssh2 no longer works correctly, due to a combination of used deprecated protocol KEX algorithms, and changes to ESP-IDF, so, it should be replaced with libssh, and connected to the lib/network-protocol/SSH.cpp protocol adapter.

* Fold in libssh: https://github.com/tnn2/esp-idf-libssh and make compile.

* Modify lib/network-protocol/SSH.cpp/h and make it use libssh

* Should be able to connect to an SSH host using netcat, with appropriate login/password credentials. pubkey can be added later.

 

Ticket here: 

https://github.com/FujiNetWIFI/fujinet-platformio/issues/481

 

 

Edited by tschak909

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...