Skip to main content

Module remote

Module remote 

Source
Expand description

A DataSource for a remote host, reached by running rigtop --agent through the system’s ssh (OpenSSH; ssh.exe on Windows).

Using the system client means ~/.ssh/config, keys, agents and ProxyJump all work as on the command line. Authentication must not need a prompt (BatchMode), since there is no terminal to ask on.

Structs§

RemoteSource
Snapshots from rigtop --agent on another machine.
RemoteTarget
How to start the agent: a program and its arguments.

Constants§

DEFAULT_REMOTE_COMMAND
Command run on the remote host by default.
FALLBACK_REMOTE_COMMAND
Tried when the default command is not found: cargo install puts rigtop in ~/.cargo/bin, which non-interactive SSH sessions often lack on their PATH.