ssh-known-hosts

Crates.iossh-known-hosts
lib.rsssh-known-hosts
version1.0.0
sourcesrc
created_at2021-02-06 00:11:20.192938
updated_at2021-02-06 00:11:20.192938
descriptionA small utility for quickly connecting to known ssh hosts
homepage
repositoryhttps://github.com/oldwomanjosiah/ssh-known-hosts
max_upload_size
id351350
size53,384
Josiah Hilden (oldwomanjosiah)

documentation

README

ssh-known-hosts

Connect to a host from a defined pool of hosts by an easy to remember name.

Usage

$ ssh-known-hosts connect uwm-ale

$ ssh-known-hosts list

Local              Real Host
----------------------------
uwm-ale            <hidden>
minecraft-linode   <hidden>
...

Configuration

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.

Installation

You need cargo to install ssh-known-hosts go to rustup.rs to see about downloading cargo.

cargo install ssh-known-hosts

Features

  • 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

Maintained by oldwomanjosiah (jhilden13@gmail.com)

Commit count: 12

cargo fmt