shy 0.1.9

bare-bones ssh launcher
Documentation
# shy

[![github](https://img.shields.io/github/v/release/xvxx/shy?include_prereleases)](https://github.com/xvxx/shy/releases)
[![crate](https://img.shields.io/crates/v/shy)](https://crates.io/crates/shy)
[![aur](https://img.shields.io/aur/version/shy)](https://aur.archlinux.org/packages/shy/)
[![build](https://github.com/xvxx/shy/workflows/build/badge.svg)](https://github.com/xvxx/shy/actions?query=workflow%3Abuild)

`shy` is a lil console ui for quickly connecting to an ssh server. It
parses your `~/.ssh/config` file and displays all your "Host" patterns,
allowing you to quickly select one using a readline-ish prompt.

## install

If you have [cargo] installed, installation is a breeze:

    cargo install shy

Assuming you have `~/.cargo/bin` in your `$PATH` and a `~/.ssh/config`
file, you can now run:

    shy

To connect more quickly to a host, you may want to launch in search
mode:

    shy -s

### arch linux

`shy` can be installed from available [AUR packages](https://aur.archlinux.org/packages/?O=0&SeB=nd&K=Bare-bones+SSH+launcher&outdated=&SB=n&SO=a&PP=50&do_Search=Go) using an [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers). For example,

    yay -S shy

## keyboard shortcuts

| **Shortcut**        | **Nav Mode**        | **Search Mode**                    |
| ------------------- | ------------------- | ---------------------------------- |
| `i`, `s`, `f`, `/`  | Enter search mode   |                                    |
| `up`, `ctrl-p`      | Move selection up   | Jump to previous match             |
| `down`, `ctrl-n`    | Move selection down | Jump to next match                 |
| `PageDown`, `space` | Jump down 5 entries |                                    |
| `PageUp`, `-`       | Jump up 5 entries   |                                    |
| `r`, `F5`           | Refresh             |                                    |
| `ctrl-c`, `ESC`     | Quit                | Clear Input, then Exit Search Mode |

## screenies

| ![Screenshot]./img/screen1.jpeg | ![Screenshot]./img/screen2.jpeg |
| --------------------------------- | --------------------------------- |
| ![Screenshot]./img/screen3.jpeg | ![Screenshot]./img/screen4.jpeg |

## TODO

- [ ] screencast for README

[cargo]: https://rustup.rs/