Skip to content
MCU Atlas

SSH.RP: a real SSH server on a bare RP2040

SSH.RP runs a real SSHv2 server on an RP2040 board with W5500 Ethernet: stock OpenSSH clients, Ed25519 key login, a shell on the bare MCU.

Difficulty:BeginnerSource available

What it is

A real SSHv2 server on a bare RP2040: plug the board into your router, log in with the ordinary ssh client from any computer on the network, and drive a small shell on the microcontroller.

What you need

  • A W55RP20 evaluation board RP2040 + W5500 Ethernet in one package, the default build — or a plain Raspberry Pi Pico wired to a W5500 module
  • An Ethernet cable and a USB data cable the USB cable must carry data, not charge-only
  • The ssh client you already have ssh and ssh-keygen ship with Windows 10/11, macOS and Linux

How hard

Beginner — no soldering on the default board and the client side is the SSH you already know; the honest gates are a source build (no prebuilt binary), two ssh-keygen keys and a static IP edited in main.cpp.

Key Facts

  • SSHv2 server firmware for RP2040 boards with WIZnet W5500 Ethernet — two PlatformIO targets: the W55RP20 (an RP2040 and a W5500 in one package, the default environment) or a plain RP2040 wired to a W5500 module (the W5500-EVB-Pico has this wiring on board)
  • Stock OpenSSH clients connect without extra options: curve25519-sha256 key exchange, ssh-ed25519 host key, aes128-ctr + hmac-sha2-256; wolfSSH and wolfSSL compile from source as git submodules
  • Login with one authorized Ed25519 key (username sshrp — see the notes below on the README's stale 'admin' table row), plus an optional password; one session at a time, one authorized key
  • The shell drives the board LED: on, off, blink, status, exit
  • Status per the README: "working demo; not security-audited" — the keys are stored in the firmware, and anyone with USB access can read the flash in BOOTSEL mode
  • Wired Ethernet, not Wi-Fi: the W5500 is the network link, TCP/IP runs in lwIP on the RP2040; static IP by default (DHCP possible by removing the eth.config(...) line)
  • No prebuilt binary (zero GitHub releases, checked 2026-11-29): build with PlatformIO; the IP address and login are set in src/main.cpp; keys are pasted into include/keys.h (git-ignored)
  • Firmware GPL-3.0 (LICENSE file; the README and platformio.ini SPDX headers say GPL-3.0-or-later); repo created 2026-10-13, last pushed 2026-10-16, not archived, 0 open issues (checked 2026-11-29)

About This Project

The ssh command from every Linux tutorial can drop you into a shell on a bare RP2040.

What it is

Ricardo Marques' SSH.RP is, in the maker's words, "a proof of concept for a SSHv2 server firmware running on RP2040 boards with WIZnet W5500 Ethernet connectivity" — either the W55RP20, which is an RP2040 and a W5500 Ethernet chip in one package, or a plain RP2040 wired to a W5500 module. Plug the board into your router, and from a computer on the same network you log in with the ordinary ssh client. "Stock OpenSSH clients connect without extra options."

The handshake is real SSHv2, not a toy: Curve25519 key exchange, an Ed25519 host key, AES-128-CTR with HMAC-SHA2-256 — with wolfSSH and wolfSSL compiled from source on the board. OpenSSH shows the board's fingerprint and asks whether to continue — a prompt you already know.

What you get after logging in is a small shell that drives the board's LED: on, off, blink, status, exit. That is the honest scope — a demo shell, not Linux. But it is a real shell session on a bare microcontroller, over a real network.

One thing to be clear about: this is wired Ethernet, not Wi-Fi. The W5500 handles the Ethernet link while TCP/IP runs in lwIP on the RP2040 itself — which is part of what makes it a striking demo: the whole server, network stack included, is the chip in your hand.

Why it clears our newcomer bar

You already speak the client. If you have ever ssh-ed into a web server, you have already used the exact tool this board speaks — no new app, no vendor tooling.

One board, no soldering on the default path. The W55RP20 build needs one board, one Ethernet cable and one USB cable. The second build path wires a W5500 module to a plain Pico with six jumper connections (MISO, CS, SCK, MOSI, RST, plus 3V3 and GND) — and a W5500-EVB-Pico "already has this wiring on board".

Every piece is inspectable. The SSH stack is wolfSSH and wolfSSL compiled from source, the keys are ordinary ssh-keygen files pasted into one header, and the whole firmware is one GPL-licensed main.cpp you can read in an afternoon.

And the README tells you the limits itself. Its status line: "working demo; not security-audited." One session at a time, one authorized key — and "The keys are stored in the firmware, and anyone with USB access can read the flash in BOOTSEL mode." We like a project that says this out loud.

This pairs naturally with our RP2040 beginner lane: a first Pico project that ends not with a blinking LED on your desk, but with a blinking LED you commanded from another computer, through a login you set up yourself.

Cost and difficulty

Beginner. Nothing here is soldered on the default board, and the client side is the SSH you already know. The honest gates: you edit a source file for the IP address, you make two keys with ssh-keygen, and you compile the firmware yourself — the repo publishes no prebuilt binary. Budget about an hour the first time, most of it the first build's toolchain download — our estimate; we haven't built this one. The full walkthrough, from tools to first login, is below. And remember what the README says: "working demo; not security-audited." Fun, instructive, real SSH — but not the place to put a key that matters.

Honesty split: we haven't built this — every behavioral claim is the maker's README, key-management guide and source code, cited. First-hand checks (2026-11-29): the README, KEY_MANAGEMENT.md, LICENSE, src/main.cpp and platformio.ini were fetched via the GitHub API and saved, every quote verbatim-checked against those bytes; the repo is live, GPL-3.0, zero releases, one commit, last push 2026-10-16; all cited URLs returned HTTP 200. MCU Atlas is independent of the project's author; Raspberry Pi, WIZnet and OpenSSH are their owners' marks.

Source & Attribution

Source: GitHub
License: GPL-3.0 (verified from the LICENSE file via the GitHub API; the README's license section and platformio.ini's SPDX headers say GPL-3.0-or-later — discrepancy noted, the LICENSE file applies). wolfSSL, wolfSSH and Arduino-Pico keep their own licenses.
Last verified: 11/29/2026
SSH.RP: a real SSH server on a bare RP2040

Illustration

How to Build It

Build and flash the SSH.RP firmware with PlatformIO, make the two keys, give the board an address, and log in with the ordinary ssh client — the maker's README quick start end to end.

Parts Needed

  • A W55RP20 evaluation board (RP2040 + W5500 Ethernet in one package) — or a plain Raspberry Pi Pico wired to a W5500 module (current prices in the Parts list)
  • An Ethernet cable from the board to your router or switch
  • A USB data cable for flashing — it must carry data, not charge-only
  • VS Code with the PlatformIO IDE extension, Git, and the OpenSSH client (ssh and ssh-keygen ship with Windows 10/11, macOS and Linux)

Steps

  1. 1

    Install the tools

    VS Code with the PlatformIO IDE extension, Git (the build needs the repo's submodules), and the OpenSSH client — ssh and ssh-keygen come with Windows 10/11, macOS and Linux. Windows only, first: enable long paths (the README walks you through git config --system core.longpaths true, the Group Policy switch and a reboot) or the toolchain download fails with "Filename too long".

  2. 2

    Clone with submodules

    git clone --recurse-submodules https://github.com/RicardoJCMarques/SSH.RP.git — wolfSSL and wolfSSH come along, and they are compiled from source. If you cloned without them, git submodule update --init --recursive fetches them.

  3. 3

    Give the board an address

    Near the top of src/main.cpp, set BOARD_IP, BOARD_GATEWAY and BOARD_NETMASK — "Pick an unused address on your network's subnet." The default is 192.168.1.120. (DHCP is possible by removing the eth.config(...) line; static is the default.)

  4. 4

    Make two keys

    In a ~/.ssh/sshrp folder, run ssh-keygen -t ed25519 -f id_ed25519 for yourself, and ssh-keygen -t ed25519 -f host_key for the board — pressing Enter twice on the host key, because the board can't use a passphrase-protected one. Copy include/keys.h.example to include/keys.h, paste the host key and your public key into it; "The build fails with `include/keys.h is missing` until this is done." The file is git-ignored, so the board's private key stays on your machine.

  5. 5

    Build and upload

    Open the folder in VS Code, expand your board's environment (w55rp20 or rp2040_w5500) in the PlatformIO sidebar and click Upload. "The first build takes a while because PlatformIO downloads the toolchain and compiles wolfSSL." For the first upload, hold BOOTSEL while plugging in USB; later uploads reset the board themselves.

  6. 6

    Log in

    Run an Ethernet cable from the board to your network, then ssh -i ~/.ssh/sshrp/id_ed25519 [email protected]. Confirm the fingerprint, and you are in. (The username is sshrp — main.cpp defines SSH_USER as sshrp; the README's security table says 'admin', but the code and the docs' own connect commands say sshrp.)

  7. 7

    Drive the shell

    Type blink, then status, then exit. The serial monitor at 115200 baud shows the board's status and any [ERR] messages if something is off.

Bill of Materials

Parts list

4 parts · 2 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

1× W55RP20 evaluation board (RP2040 + W5500 Ethernet in one package)

No verified link — check the original project

1× Ethernet cable, board to router or switch

No verified link — check the original project
Download CSV

Related Projects

Pico.Lab: turn a Raspberry Pi Pico into a browser-based scope and logic analyzer
Illustration
RASPBERRY PI PICORP2350
Flash one .uf2 and a Pico 2 becomes a 4-channel scope, 8-channel logic analyzer with UART/I2C/SPI decode and bus tool you open in any browser.
Beginner
3 parts listed
PicoDVI: HDMI/DVI video from a Raspberry Pi Pico, three ways
Illustration
RASPBERRY PI PICORP2040
PicoDVI drives DVI/HDMI video straight out of a Raspberry Pi Pico — no video chip, just PIO pins and clever code. Three beginner routes compared; pick yours.
Intermediate·Code
2 parts listed
One-button BLE-MIDI drum looper on a Raspberry Pi Pico W
Illustration
RASPBERRY PI PICORP2040
A Raspberry Pi Pico W becomes a four-track, two-bar drum looper with no extra parts: one BOOTSEL button records quantized beats and streams them over BLE-MIDI.
Beginner·Code
1 part listed