← All projects
Project record1 mention
Originally shared on Hacker News

SSH remote file editing tool

A small Rust tool that lets the user edit files on remote machines in their local text editor from within SSH sessions, with as few dependencies on the remote host as possible. It wraps ssh, copies a small statically compiled binary to the remote, and uses SSHFS/SFTP (possibly configurable) to let the local editor access remote files as easily as local ones.

Last shared
01 / The problem

What it addresses

Editing files on remote SSH hosts means depending on whatever editor (e.g. vi) happens to be installed there.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. SSH remote file editing tool

    A small Rust tool that lets the user edit files on remote machines in their local text editor from within SSH sessions, with as few dependencies on the remote host as possible. It wraps ssh, copies a small statically compiled binary to the remote, and uses SSHFS/SFTP (possibly configurable) to let the local editor access remote files as easily as local ones.

    Problem: Editing files on remote SSH hosts means depending on whatever editor (e.g. vi) happens to be installed there.

    Posted by @yonatan8070 · Original source ↗

    Source text · @yonatan8070 · · Source ↗

    Trying to build a small tool that will allow me to edit files in my local text editor from within SSH sessions, with as few dependencies on the remote as possible, so I don't have to depend on whatever `vi` happens to be where I'm working.