SSH Connector

To use automatic password fill feature when connecting to ssh host from SSH Config Editor, you need to install a Connector app or use SSH Config Editor Pro version.

Currently SSH Connector supports only Terminal and iTerm2 applications, if you need any other give us feedback.

How to install?

1
Download SSH Connector application using the link below.
2
When the download is complete, launch SSH Connector by double clicking it.
3
There is no step three. Application will be automatically used by SSH Config Editor for ssh connections.

Why is this necesarry?

The apps on the Mac App Store must be sandboxed, it means they can't communicate with other apps or runs scripts so there is no way to implement features like open terminal, run ssh command and fill password in App Store version of SSH Config Editor. We have introduced an optional helper application which makes this features work.

SSH Connector installs itself to ~/Library/Application Support/SSH Connector directory and runs in the background.

How it works?

Following lines is little bit technical ;)

Store Password

Some application (in our case SSH Config Editor) stores password in default user keychain with unique account (uuid) and specified service name "org.hejki.osx.sshce.connector".

Call URL

The application SSH Connector consist of two main parts
If you call URL sshconnect://server?account&terminal, then
  1. Application runs AppleScript for specific terminal (or default Terminal.app)
  2. Execute script connect.sh in this terminal
  3. Script get password for account from keychain with security system command
  4. Connect ssh to desired server
  5. If server request password, then gets it
You can check sources of SSH Connector on GitHub.