/ulauncher-ssh

Primary LanguagePythonMIT LicenseMIT

A Ulauncher extension to start ssh connections.

extension screenshot

I obtained the icon from shareicon.net

How to add SSH Connections

This extension builds the connection list automatically by extracting "Host" entries in the current user's ~/.ssh/config file.

For examples and details on how to add entries to the ssh config file, see for instance this link

This is a typical host entry in .ssh/config:

## Home nas server ##
Host nas
     HostName 192.168.1.100
     User root

If you have configured passwordless ssh login for this host/server, clicking on the 'nas' host entry in ulauncher will open a terminal and log you in the server automatically.

Terminal Workarounds

Kitty

Put this wrapper script in a file in your PATH and use it as terminal:

#!/usr/bin/env python
import subprocess
import sys

subprocess.Popen("/usr/bin/kitty " + sys.argv[2], shell=True)