Skip to content

mart337i/sx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sx

Simple SSH connection manager with fuzzy search.

Install

git clone https://github.com/mart337i/sx.git
cd sx
./install.sh

Usage

sx                    # Show all servers
sx prod               # Search for "prod" servers
sx --add web 1.2.3.4 admin 22  # Add server
sx --remove web       # Remove server
sx --import sites.xml # Import from FileZilla
sx --ssh-config       # Import from ~/.ssh/config

Press Ctrl+K to open sx from anywhere.

Import Servers

From FileZilla:

  1. Open FileZilla → File → Export → Save as XML
  2. Run: sx --import exported-sites.xml

From SSH config:

sx --ssh-config              # Import ~/.ssh/config
sx --ssh-config ~/work.conf  # Import specific file

Configuration

Servers are stored in ~/.config/sx/servers

Override hotkey: export SX_KEY_BINDING='\C-x' in ~/.bashrc

Dependencies

  • fzf - fuzzy finder
  • ssh - SSH client

Install on Ubuntu/Debian: apt install fzf openssh-client

About

sx - Interactive SSH Connection Manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages