| Crates.io | ssh-known-hosts |
| lib.rs | ssh-known-hosts |
| version | 1.0.0 |
| created_at | 2021-02-06 00:11:20.192938+00 |
| updated_at | 2021-02-06 00:11:20.192938+00 |
| description | A small utility for quickly connecting to known ssh hosts |
| homepage | |
| repository | https://github.com/oldwomanjosiah/ssh-known-hosts |
| max_upload_size | |
| id | 351350 |
| size | 53,384 |
Connect to a host from a defined pool of hosts by an easy to remember name.
$ ssh-known-hosts connect uwm-ale
$ ssh-known-hosts list
Local Real Host
----------------------------
uwm-ale <hidden>
minecraft-linode <hidden>
...
The configuration file uses a basic yaml structure:
hosts:
# hosts is a map from local-names to host specifications
google:
user_name: root
host: google.com
port: 22
# You also have the option to leave the port field off for a
# default value of 22
facebook:
user_name: root
host: 192.168.1.1
The utility looks for ~/.ssh_known_hosts.yml by default,
but this can be override when calling. run ssh-known-hosts help for more information.
You need cargo to install ssh-known-hosts go to rustup.rs
to see about downloading cargo.
cargo install ssh-known-hosts
Maintained by oldwomanjosiah (jhilden13@gmail.com)