Skip to main content
Contents

Connections

Import ~/.ssh/config

SSHive creates one server per Host entry of your ~/.ssh/config, so the servers you already reach with ssh are in the sidebar without being typed again.

By Lucas Russo, developer of SSHive · Updated

  1. On the welcome screen, Import ~/.ssh/config. Or, in the sidebar, More actions (⋯), Import SSH Config.
  2. In the App Store version, macOS opens a file chooser: select the .ssh folder of your home folder, then Open. It is hidden, so press ⌘⇧. to show it. The direct version reads the file without asking and goes straight to the next step.
  3. A message says how many profiles were imported. The servers are filed in a folder named Import SSH.
Les serveurs importés dans le dossier Import SSH
The imported servers, in the SSH import folder

In the App Store version SSHive keeps the permission to read that folder: it finds your keys there, and the SSH agent named by IdentityAgent (see SSH agents). The direct version reads them straight away.

What is read

In ~/.ssh/configIn SSHive
Host, each aliasOne server, named after the alias
HostName, Port, UserHost, port, username
IdentityFileAuthentication by private key
IdentityAgent, ForwardAgentSSH agent, Agent Forwarding
ProxyJump, and ProxyCommand ssh -W %h:%p …Jump chain
LocalForward, RemoteForward, DynamicForwardTunnels
IncludeFollowed

A wildcard block (Host *) gives the others their default values. Any other directive is ignored.

The messages

  • Duplicates ignored: a server with the same host, port and user already exists.
  • A key that cannot be read: pick it in the server form, with Browse.
  • Free version: the import stops at 5 servers.

Applies to SSHive 2.0.8 on Mac