Skip to content

🚧 (Alpha stage software) Library and tooling that supports remote filesystem and process operations. 🚧

Notifications You must be signed in to change notification settings

chipsenkbeil/distant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3fe1fba Β· Sep 16, 2023
Nov 20, 2022
Nov 20, 2022
Jul 6, 2023
Jul 15, 2023
Jul 15, 2023
Jul 16, 2023
Jul 15, 2023
Jul 16, 2023
Jul 15, 2023
Jul 21, 2023
Jul 14, 2023
Jun 7, 2022
Mar 18, 2023
Aug 8, 2022
Jul 16, 2023
Jul 15, 2023
Jul 15, 2023
Jun 6, 2022
Jun 6, 2023
Aug 19, 2022
Sep 16, 2023
May 16, 2023

Repository files navigation

Crates.io Docs.rs CI RustC 1.70+

🚧 (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 -q -O- 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 --daemon

# 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.