SSH Connector

Posted:

[ Categories: ]

SSH Connector v1.0beta

This is a beta testing version and will expire on August 31st, 2025

Features

  • Connect directly to the host
  • Generate SSH Keys
  • Send SSH Key to the remote host
  • Test the key/Add the Key to a Keyring.
  • Write the config file
  • Test/View/Edit the config file
  • Connect to saved hosts (~/.ssh/config.d)

Requirements

GNU/Linux. Tested on Debian Bullseye w/ Xfce4.

Dependencies:

  • Python 3.9.2+
  • ssh, ssh-keygen, ssh-copy-id
  • xfce4-terminal
  • gedit

The users home directory must contain the .ssh directory and the .ssh/config.d directory:

  • ~/.ssh/
  • ~/.ssh/config.d

Instructions

First, download and unzip the compressed tar file.

tar zxvf ssh_connector-v1.0beta.tar.gz

Make the binary and the shell script executable.

cd ssh_connector-v1.0beta
chown u+x ssh_connector
chown u+x ssh_connector-menu.sh

Create the ~/bin directory if it doesn’t exist

mkdir ~/bin

Move ssh_connector and the ssh_connector-menu.sh file to the ~/bin directory.

mv ssh_connector ~/bin/
mv ssh_connector-menu.sh ~/bin/

Run the application.

ssh_connector

or

~/bin/ssh_connector

The ‘ssh_controller-menu.sh’ script

Lists all the ssh connections configured in the users ~/.ssh/config.d directory.

The ssh_controller-menu.sh script is integrated into SSH Connector. It is what appears when you click on the ‘Connect to Other Hosts…’ button. In addition to that, the ssh_controller-menu.sh script can also be run on its own from a terminal.

Add an Include to the ~/.ssh/config file

You can also add this line to the ~/.ssh/config file (replace username with your username):

Include /home/username/.ssh/config.d/*

It should be added to the top of the config.

What it does:

It will add the connections configured in the ~/.ssh/config.d directory to regular operations, like when searching for matching Hosts.

Connecting to a Keyring

Read the article on ‘SSH, XFCE4 & GNOME Keyring to see how to use GNOME Keyring. Further up in the article it also shows the commands that SSH Connector uses to generate and send keys.

Developer

The developer can be reached on IRC: #keystreams on Libera.Chat