This is a small and (yet) dirty SSH connection manager. You can use it to quickly connect to different servers with different usernames and ports. There already exists nccm, but it was not exactly what I was looking for.
- Every connection can have a shortcut assigned for quick access.
- Connections can be accessed by their number (only 1-9)
- Interactive connection editor (F2)
- Help text (F1)
- commandline options (shortcut, config file path, ...)
- colors, icons (nerdfont)
To build ssc, you need to install yaml-cpp
first. On Ubuntu, type
$ sudo apt-get install libyaml-cpp-dev
On MacOS with homebrew:
$ brew install libyaml-cpp
Then, clone the repository
$ cd
$ git clone https://github.com/gollenia/scm
Please be aware that the Connection manager uses FTXUI, a Terminal UI comparable to ncurses. So when running cmake, make sure you have a working internet connection:
$ cd scm
$ cmake .
$ make
Add a ~/.scm.yaml
file and add connections like so:
connections:
- title: "DigitalOcean"
server: "mydroplet.example.net"
username: root
port: 4022
shortcut: d
- title: "Home Server"
server: "192.168.1.5"
username: john
shortcut: k
👉 Add
"\es": "scm\n"
to your.inputrc
and you can call scm with ALT+s. So you can connect to your home server, for example with ALT+s k
- Can I store Passwords? No. I assume you use SSH keys, which is much safer
- Now compiles on macOS
- Fixed error in sample config
- Fixed new fxtui function
- Ctrl-C now works as expected
- Better error handeling with corrupt YAML files
- initial release