You are using staging server - a separate instance of the ESP Component Registry that allows you to try distribution tools and processes without affecting the real registry.

wolfssh_server

Example of the component gojimmypi/mywolfssh v1.0.8-test

wolfSSL Server Project

This is an example wolfSSH Server based on the minimally viable wolfSSL template

See the command line example client and the instructions in wolfssh README.md

To connect:

Bash

TODO

ssh -p 22222 jack@192.168.1.32

Prerequisites

It is assumed the ESP-IDF environment has been installed.

Files Included

  • main.c with a simple call to an Espressif library (ESP_LOGI) and a call to a wolfSSL library (esp_ShowExtendedSystemInfo) .

  • See components/wolfssl/include directory to edit the wolfSSL user_settings.h.

  • Edit main/CMakeLists.txt to add/remove source files.

  • The components/wolfssl/CMakeLists.txt typically does not need to be changed.

  • Optional VisualGDB Project for Visual Studio using ESP32 and ESP-IDF v5.1.

  • Edit the project CMakeLists.txt to optionally point this project's wolfSSL component source code at a different directory:

Plaintext

set(WOLFSSL_ROOT "~/workspace/wolfssl-other-source")

Getting Started:

Here's an example using the command-line idf.py.

Edit your WRK_IDF_PATHto point to your ESP-IDF install directory.

Plaintext

WRK_IDF_PATH=/mnt/c/SysGCC/esp32/esp-idf/v5.1

echo "Run export.sh from ${WRK_IDF_PATH}"
. ${WRK_IDF_PATH}/export.sh

# build the example:
idf.py build

# flash the code onto the serial device at /dev/ttyS19
idf.py flash -p /dev/ttyS19 -b 115200

# build, flash, and view UART output with one command:
idf.py flash -p /dev/ttyS19 -b 115200 monitor

Press Ctrl+] to exit idf.py monitor. See additional monitor keyboard commands.

Other Examples:

For examples, see:

To create a project from this example, run:

idf.py create-project-from-example "gojimmypi/mywolfssh=1.0.8-test:wolfssh_server"

or download archive (~23.99 KB)