🚧 (Alpha stage software) Library and tooling that supports remote filesystem and process operations. 🚧
Go to file
2021-10-15 21:15:24 -05:00
.github/workflows Switch release to use an alpine container to build musl 2021-10-13 18:33:34 -05:00
distant-core Bump to v0.15.0-alpha.19 2021-10-15 21:15:24 -05:00
distant-lua Bump to v0.15.0-alpha.19 2021-10-15 21:15:24 -05:00
distant-lua-tests Fix bad test reference to PENDING instead of pending 2021-10-12 18:05:15 -05:00
distant-ssh2 Bump to v0.15.0-alpha.19 2021-10-15 21:15:24 -05:00
src Remove --daemon in favor of opposite parameter --foreground 2021-10-15 20:40:35 -05:00
tests Couple of changes: 2021-10-10 15:05:04 -05:00
.gitignore Add native ssh (#57) 2021-09-28 00:04:26 -05:00
BUILDING.md Update building instructions 2021-07-28 23:53:32 -05:00
Cargo.lock Remove --daemon in favor of opposite parameter --foreground 2021-10-15 20:40:35 -05:00
Cargo.toml Bump to v0.15.0-alpha.19 2021-10-15 21:15:24 -05:00
README.md Bump to 0.15.0-alpha.7 w/ new release.yml 2021-10-07 15:40:07 -05:00

distant - remotely edit files and run programs

Crates.io Docs.rs RustC 1.51+

Operating System Status
MacOS (x86, ARM) MacOS CI
Linux (x86) Linux CI
Windows (x86) Windows CI

🚧 (Alpha stage software) This program is in rapid development and may break or change frequently! 🚧

Details

The distant binary supplies both a server and client component as well as a command to start a server and configure the local client to be able to talk to the server.

Installation

Prebuilt Binaries

If you would like a pre-built binary, check out the releases section.

Building from Source

If you have cargo installed, you can directly download and build the source via:

cargo install distant

Alternatively, you can clone this repository and build from source following the build guide.

Examples

Launch a remote instance of distant by SSHing into another machine and starting the distant executable:

# Connects to my.example.com on port 22 via SSH to start a new session
distant launch my.example.com

# After the session is established, you can perform different operations
# on the remote machine via `distant action {command} [args]`
distant action copy path/to/file new/path/to/file
distant action run -- echo 'Hello, this is from the other side'

License

This project is licensed under either of

Apache License, Version 2.0, (LICENSE-APACHE or apache-license) MIT license (LICENSE-MIT or mit-license) at your option.