Run remote Hermes locally

|

$

$

$

$

curl -fsSL https://almas-x.github.io/hermes-wrapper/install.sh | bash
SSH passthrough Remote TTY Shell completion

Shell completion

Generate and install completion scripts for your shell.

mkdir -p ~/.zsh/completions && hermes completion zsh > ~/.zsh/completions/_hermes
# Add to ~/.zshrc
fpath=(~/.zsh/completions $fpath)
autoload -Uz compinit
compinit
mkdir -p ~/.bash_completion.d && hermes completion bash > ~/.bash_completion.d/hermes
# Add to ~/.bashrc
source ~/.bash_completion.d/hermes
mkdir -p ~/.config/fish/completions && hermes completion fish > ~/.config/fish/completions/hermes.fish
mkdir -p ~/.oh-my-zsh/custom/completions && hermes completion zsh > ~/.oh-my-zsh/custom/completions/_hermes

Remote targets

Set HERMES_HOST to define your remote target. Defaults to hermes if unset.

hermes status
Connects to a host named 'hermes' when HERMES_HOST is unset
HERMES_HOST=devbox hermes status
Connect to a specific host by name or IP
HERMES_HOST=almas@devbox hermes chat
Specify SSH username and hostname
HERMES_HOST=almas@devbox:2222 hermes chat
Include a custom SSH port number
HERMES_HOST=user:pass@host hermes chat
Requires sshpass. Prefer SSH key auth.