SShortSingh.
Back to feed

Connecting Claude Code or Codex to a Raspberry Pi via SSH Keys Instead of Passwords

0
·4 views

A guide explains how a coding agent such as Claude Code or Codex can run commands on a Raspberry Pi over SSH without the account password being pasted into the conversation. It recommends setting up key-based authentication, with a dedicated Ed25519 key generated and installed on the Pi by the user in their own terminal. The client handles authentication locally, optionally through an ssh-agent, so the model never sees the private key or its passphrase. The article stresses that key-based access does not make the agent's permissions read-only, since commands still run with the remote account's rights. It also advises verifying the Pi's host-key fingerprint on first connection and keeping host-key checking enabled.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Power failure knocks one Google Cloud London zone offline for six hours in October 2026

On 20 October 2026, a power failure took one zone, europe-west2-b, of Google Cloud's London region offline when backup batteries drained and the generators failed to start. Google's final incident report puts the main impact at about six hours and eight minutes. Failover and cross-zone dependencies also drove up latency and errors in the two healthy zones, affecting more than thirty regional products. The report traces the outage to a cable fault outside the facility that followed an earlier reduction in redundancy, and to generator controllers that wrongly sensed a live power source. Press reports linked the disruption to Revolut and other UK services, but Google's report names no customers and some of those links were not confirmed.

0
ProgrammingDEV Community ·

Regression test checks that a late-order dashboard tile, drill-down and CSV export agree

A reporting provider describes a regression test for a dashboard where the tile, detail view and CSV export must match. The fixture uses three orders in one region at a 10:00 cutoff, defining late as an open order with a promised delivery earlier than the cutoff, so only O-42 should qualify. The test checks specific order IDs rather than row counts, since a count-only check would miss a wrong order like O-43 appearing instead. The same scenario is run through a natural-language query interface, which should either identify O-42 with its scope or state it cannot verify the records. A final pass with a non-matching filter expects a zero tile, an explanatory detail view, and a header-only or clearly disabled export.

0
ProgrammingDEV Community ·

Multilingual Voiceover Pipeline Combines VoxClone and FFmpeg to Keep Long Videos in Sync

A developer found that translated voiceover tracks for the same video drifted out of sync because different languages produce different audio durations. Rather than adjusting timelines by hand, they treated multilingual narration as an asset-generation pipeline. The workflow splits narration into complete idea-based segments, prepares a script per language, and generates one MP3 per segment using the browser-based VoxClone tool. FFmpeg then normalizes and concatenates the audio, with a manifest tracking segment IDs and target durations. The author notes that VoxClone only produces MP3 audio and cannot translate scripts or edit video, so those steps stay outside the tool.

0
ProgrammingDEV Community ·

Bangladeshi Fashion Store Serves WooCommerce Galleries Directly from Google Drive Links

A small Bangladeshi streetwear team faced slow dashboards and bloated backups from uploading large product photos to WordPress. To solve this, the developer built a custom plugin that lets product galleries pull images directly from Google Drive share links. The plugin extracts each file ID, builds a resized WebP image URL, and hooks into WooCommerce so themes display the images normally. The approach reduced storage use and sped up uploads, though it requires public link sharing, manual alt-text handling, and relies on an unofficial endpoint. The author suggests object storage with a CDN for larger stores.