🚧 (Alpha stage software) Library and tooling that supports remote filesystem and process operations. 🚧
Go to file
2023-07-05 23:36:34 -05:00
.cargo Update to attempt more linux release builds 2022-11-19 21:40:03 -06:00
.config Rewrite to support custom authentication, handshakes for encryption/compression, and reconnecting (#146) 2022-11-19 20:27:49 -06:00
.github/workflows Reintroduce checkout to publish step 2023-07-05 23:36:34 -05:00
distant-auth Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
distant-core Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
distant-local Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
distant-net Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
distant-protocol Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
distant-ssh2 Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
src Refactor generation commands to use --output for files and printing to stdout by default 2023-07-04 17:51:21 -05:00
tests Fix server hangup (#206) 2023-06-18 15:09:09 -05:00
.dockerignore Add dockerignore to speed up dockerfile 2022-06-06 19:12:16 -05:00
.gitignore Add default configuration and ability to generate default configuration 2023-03-18 14:12:22 -05:00
BUILDING.md Refactor to use distant manager (#112) 2022-08-08 01:10:32 -05:00
Cargo.lock Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
Cargo.toml Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
CHANGELOG.md Bump to 0.20.0-alpha.11 and restore ci tests 2023-07-05 23:16:58 -05:00
Dockerfile Minor documentation changes and update dockerfile to build from source 2022-06-06 18:38:46 -05:00
Makefile.toml Fix makefile 2023-06-06 15:28:17 -07:00
PUBLISH.md Update referenced versions in READMEs and add note about doing so to PUBLISH.md 2022-08-18 21:53:27 -05:00
README.md Update README 2023-07-05 23:13:05 -05:00
rustfmt.toml Apply nightly formatting to reorder imports and use module-level import granularity 2023-05-16 15:46:24 -05:00

Distant

Documentation | Discussion

Crates.io Docs.rs CI RustC 1.68+

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

Installation

Unix

# Need to include -L to follow redirects as this returns 301
curl -L https://sh.distant.dev | sh

# Can also use wget to the same result
wget https://sh.distant.dev | sh

See https://distant.dev/getting-started/installation/unix/ for more details.

Windows

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm sh.distant.dev | iex

See https://distant.dev/getting-started/installation/windows/ for more details.

Usage

# Start a manager in the background
distant manager listen &

# SSH into a server, start distant, and connect to the distant server
distant launch ssh://example.com

# Read the current working directory
distant fs read .

# Start a shell on the remote machine
distant shell

See https://distant.dev/getting-started/usage/ for more details.

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.