kilnyy / ssh-completion

Auto-complete ssh hostname use known_hosts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ssh-completion

Auto-completion support for ssh hostname.

This script reads hostnames from ~/.ssh/known_hosts and uses them to complete your ssh hostname.

Getting Start

Copy this file ~/.ssh/auto-completion.sh.

Add the following line to your ~/.bashrc or ~/.bash_profile:

source ~/.ssh/auto-completion.sh

About

Auto-complete ssh hostname use known_hosts


Languages

Language:Shell 100.0%