/LibSSH-ESP32

Libssh SSH client & server port to ESP32 Arduino library

Primary LanguageCOtherNOASSERTION

ESP32 SSH client/server on Arduino

This is a port of the excellent libssh.org library to an Arduino library for the ESP32 microcontroller and its variants.

It lets you run an SSH server, SSH client, and SCP client on your ESP32 and use it over WiFi and Ethernet. Examples are provided for each of these functions, as well as an over the air (OTA) flashing example.

To use, write your code and add the following include and initialization lines to your sketch:

#include "libssh_esp32.h"
libssh_begin();

This library is currently built and tested against version 2.0.12 of the ESP32 Arduino core for ESP32, ESP32-C3 and ESP32-S3, and ESP32-S2 boards. Versions and boards outside of this list may function but have not been tested. Please refer to the GIT log for the latest changes. Further information on this port can be found at the following address.

https://www.ewan.cc/?q=node/157

For improved stability under any concurrency it is recommended to use the ESP32 Arduino framework compiled with the CONFIG_MBEDTLS_HARDWARE_SHA setting disabled in the sdkconfig.

This port created by Ewan Parker on 18th April 2020. Last ported 22nd December 2023, built with libssh commit 10e09e27, branch stable-0.10, version libssh-0.10.6.

pipeline status Fuzzing Status

  _   _   _                          _
 (_) (_) (_)                        (_)
 (_)  _  (_) _         _  _   _  _  (_) _
 (_) (_) (_)(_) _     (_)(_) (_)(_) (_)(_) _
 (_) (_) (_)   (_)  _ (_)  _ (_)    (_)   (_)
 (_) (_) (_)(_)(_) (_)(_) (_)(_)    (_)   (_).org

 The SSH library

Why?

Why not ? :) I've began to work on my own implementation of the ssh protocol because i didn't like the currently public ones. Not any allowed you to import and use the functions as a powerful library, and so i worked on a library-based SSH implementation which was non-existing in the free and open source software world.

How/Who?

If you downloaded this file, you must know what it is : a library for accessing ssh client services through C libraries calls in a simple manner. Everybody can use this software under the terms of the LGPL - see the COPYING file

If you ask yourself how to compile libssh, please read INSTALL before anything.

Where ?

https://www.libssh.org

Contributing

Please read the file 'CONTRIBUTING.md' next to this README file. It explains our copyright policy and how you should send patches for upstream inclusion.

Have fun and happy libssh hacking!

The libssh Team