sshrpc

Crates.iosshrpc
lib.rssshrpc
version
sourcesrc
created_at2024-06-09 11:06:49.961043
updated_at2024-12-11 08:54:18.92647
descriptionRPC through ssh port forwarding
homepagehttps://github.com/yamaura/sshrpc
repositoryhttps://github.com/yamaura/sshrpc
max_upload_size
id1266310
Cargo.toml error:TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Yuki Yamaura (yamaura)

documentation

README

sshrpc

This crate simplifies the process of automating tasks on remote machines using SSH (Secure Shell). Normally, automating over SSH involves manually handling commands and capturing their standard output and standard error, which can be cumbersome. This crate provides a more streamlined approach by enabling remote procedure calls (RPC) through an SSH port forwarding setup.

Features

  • Remote Procedure Calls: Utilize tarpc for RPC implementation, which allows for calling remote functions as if they were local.
  • SSH Port Forwarding: Automatically set up SSH port forwarding to communicate with the remote RPC server, simplifying the connection setup.
  • Serialization: Implements tokio_serde with bincode for efficient data serialization and transmission over the network.

How It Works

The crate enables you to deploy a local RPC server program to a remote machine via SSH. Once the server is deployed, SSH port forwarding is used to establish a communication channel between the local machine and the remote server. This setup allows for easy execution of automation scripts that interact seamlessly with the remote environment.

Example

You can see examples

Commit count: 5

cargo fmt