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
- Keep a configurable list of hosts that can be ssh'd into
- Use scp to download a file from host
- Use scp to uplead a file to a host
- Specify a per host public key file to use
- Per invocation override of port and keyfile
- Pass through arguments after
--
to invocation
Maintained by oldwomanjosiah ([email protected])