Use system default `ssh_config` and `known_hosts` configuration

By default, Core Tunnel uses configuration files in its own container folder:

# known_hosts
~/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/known_hosts

# ssh_config
~/Library/Group Containers/E78WKS7W4U.io.coressh.ssh/.ssh/config

This works very well in most of cases. But if you have a lengthy ~/.ssh/config or /etc/ssh/ssh_config, or have StrictHostKeyChecking set to yes and use ~/.ssh/known_hosts, /etc/ssh/ssh_known_hosts as the only source data trusted host keys, you may want to use system default configuration files instead.

You just need to enable Core Helper:

Consult the discussion in this thread if you are curious why a Helper is required:

After Core Helper enabled, Core Shell/ Tunnel should read and use your configuration files in following sources:

  • User's configuration file (~/.ssh/config)
  • System-wide configuration file (/etc/ssh/ssh_config)
  • Global host key database (/etc/ssh/ssh_known_hosts, /etc/ssh/ssh_known_hosts2)
  • User host key database (~/.ssh/known_hosts, ~/.ssh/known_hosts2)

:warning: Warning: the locations of known_hosts files may vary if your ssh_config file contains GlobalKnownHostsFile or UserKnownHostsFile directive.