Skip to content

roelbeun/ssh-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ssh-connect

A minimal bash script to manage and connect to SSH servers using fuzzy search via fzf.

Features

  • Fuzzy search across all your servers by name, host, user, or port
  • Direct connect by server name: connect SERVERNAME
  • Simple plain-text config file
  • Auto-generates an example config on first run

Requirements

  • fzf — install with brew install fzf

Installation

sudo ln -sf /path/to/ssh-connect/connect /usr/local/bin/connect

Configuration

Servers are defined in ~/.ssh/connect.conf:

# Format: name  host  [user]  [port]
# Fields are whitespace-separated. user and port are optional.

work-server     192.168.1.10
dev-box         10.0.0.5           deploy   2222
staging         staging.example.com ubuntu

If the config file doesn't exist, connect will create an example one on first run.

Usage

Fuzzy search (interactive):

connect

Direct connect by name:

connect work-server

Name matching is case-insensitive.

About

SSH server launcher with fzf fuzzy search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages