Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 716 Bytes

README.md

File metadata and controls

44 lines (36 loc) · 716 Bytes

SSH Remote

Simple tool to retrieve your ssh hosts using cli.

Written in Rust and is BLAZINGLY FAST

Usage

  1. Touch file hostnames.yaml with simillar contents:
some_service:
  test:
    - some_test_host.site
  prod:
    - some_prod_host.site

...
  1. Build the executable using cargo:
cargo build --release
  1. Execute command to get the appropriate host
ssh_remote

Such output will be provided:

Pick option from: 
1. some_service
1
Pick option from: 
1. test
2. prod
2

----------
ssh some_prod_host.site

Additional arguments:

  • --verbose - will print config structure before interaction
  • --dry - won't copy resulted command into your clipboard