Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssh-control

Interface to SSH master socket.

Protocol

The protocol is described here.

Long story short, here the few things to know:

  • Integers are encoded in big-endian.
  • Booleans are 32 integers.
  • Strings are encoded with their length first (32 bits integer), then their data (no null terminator)
  • Terminating 0 (for environment string in MUX_C_NEW_SESSION for instance) is litteraly a null byte.

Build

git clone --recurse https://github.com/mephesto1337/ssh-control
cargo build --release

Examples

see src/main.rs.

About

Rust tool to talk to ssh control master

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages