#ssh #ping #config-file #connection

app rssh

Manage, view, ping and connect using SSH config

1 unstable release

0.1.0 Apr 19, 2024

#1515 in Network programming

MIT license

8KB
134 lines

rssh

rssh exists to list, ping and connect servers listed inside the SSH config file.

Installation

cargo install rssh

Configuration

rssh requires a valid .ssh/config file:

Host host01
    HostName 127.0.0.1
    User root
    Port 22
    IdentityFile ~/.ssh/host01.key

Usage

To list available hosts:

# Long version
rssh --list

# Short version
rssh -l

To ssh into a host:

rssh

To ping a host:

# Long version
rssh --ping

# Short version
rssh -p

Dependencies

~2–12MB
~93K SLoC