Crates.io | shf |
lib.rs | shf |
version | 0.2.2 |
source | src |
created_at | 2022-07-17 14:52:57.958738 |
updated_at | 2024-05-22 18:46:48.68221 |
description | Simple SSH host finder |
homepage | |
repository | https://github.com/jsmits/shf |
max_upload_size | |
id | 627276 |
size | 71,689 |
Simple SSH host finder. Fuzzy search built-in.
$ cargo install shf
$ git clone https://github.com/jsmits/shf.git
$ cd shf
cargo build
$ cargo build --release
(put the resulting target/release/shf
on your PATH
)
cargo install
$ cargo install --path .
$ shf -h
shf 0.2.2
Simple SSH host finder
USAGE: shf [OPTIONS]
OPTIONS:
-c, --config <CONFIG> SSH config file [default: ~/.ssh/config]
-l, --list Print all hosts
-h, --help Print help
-V, --version Print version
~/.ssh/config
$ shf
$ shf -c /path/to/ssh/config
$ ssh $(shf)
$ ssh (shf)
$ shf -l
Please create a new issue when you encounter a bug or have any suggestions or feature requests. Pull requests are welcome as well.