bodo_connect

It supports: * Waking the host before connecting to it. * Retry connection until ssh returns 0 * Automatic subnetwork detection for avoiding unneeded jump hosts

Installing

Install it with cargo install bodo_connect. Or build it simply by cloning this repo using cargo: shell git clone https://github.com/topongo/bodo_connect cd bodo_connect cargo build --release target/release/bodoConnect

NB

For legacy reasons, the binary for this crate is named bodoConnect and not bodo_connect.

Features

Command Usage

``` Usage: bodoConnect [OPTIONS] [EXTRA]...

Arguments: Host to connect to [EXTRA]... Extra argument(s), if no -S or -R is used, it will be passed to the remote machine as command

Options: --networkmap Select different networkmap.json file -w, --wake Wake host before connecting -t, --tty Pass -t parameter to ssh (force tty allocation) -d... Set verbosity level -q, --quiet Don't log anything -n, --dry Send to stdout the generated command without executing it -R, --rsync [WIP] Creates rsync commands -S, --sshfs [WIP] Creates sshfs commands -l, --loop Retry connection until ssh returns 0 -h, --help Print help -V, --version Print version ```

Networkmap

A little clarification on how a networkmap is structured:

Example of a newtorkmap