Skip to content

nopnop2002/esp-idf-ssh-client

Repository files navigation

esp-idf-ssh-client

ssh client for esp-idf.
You can use the ssh API to execute remote command.
This project use this ssh library.
This is great work.

Software requirements

ESP-IDF V5.0 or later.
ESP-IDF V4.4 release branch reached EOL in July 2024.

Installation

git clone https://github.com/nopnop2002/esp-idf-ssh-client
cd esp-idf-ssh-client/
idf.py menuconfig
idf.py flash

Configuration

config-main config-app

  • SSH Host
    IP address or mDNS host name.

ssh command list

ssh command list is defined ssh/command.txt.

$ cat ssh/command.txt
uname -a
ls -l
cat /etc/os-release

Screen Shot

ssh-client-1

Reference

https://github.com/nopnop2002/esp-idf-scp-client

You can use scp and ssh to do heavy processing that esp32 alone cannot.
For example, image processing:

  • Take a picture using the esp32-cam.
  • Send image files to remote using scp-put.
  • Image processing such as shading is performed on the remote side using scp-client.
  • Receive image file from remote using scp-get.

https://github.com/nopnop2002/esp-idf-telnet-client
This also works with ESP-IDF V5.X.