Your browser does not allow storing cookies. We recommend enabling them.


Using the OpenSSH known_hosts File

Tectia Client supports also the OpenSSH-style known_hosts file that contains the public key data of known server hosts, and reads the file by default from the default location, from the user-specific file $HOME/.ssh/known_hosts or from the system-wide file /etc/ssh/ssh_known_hosts. Both hashed and plain-format host keys are supported.

In case you wish to define other files to be used for the known host keys, you can specify the files in the Connection Broker configuration file ssh-broker-config.xml by using the known-hosts element. Several file locations can be defined to be checked for known host keys, and the Connection Broker will read them in the order they are defined in the ssh-broker-config.xml file. Since the configuration file settings will override the default behaviour, you need to define also the default locations of the OpenSSH-style known_hosts file, in case you want them all to be read. For example:

  <known-hosts path="/home/username/.ssh/known_hosts" />
  <known-hosts path="/etc/ssh/ssh_known_hosts" />
  <known-hosts path="/home/.ssh2/hostkeys" />
  <known-hosts path="/u/username/.ssh2/hostkeys" />

You can disable OpenSSH known_hosts file handling by defining an empty setting: known-hosts path="". After this, only the Tectia-related hostkey directories will be used.

The OpenSSH known_hosts file is never automatically updated by Tectia Client. New host keys are always stored in the Tectia $HOME/.ssh2/hostkeys directory or in the directory configured as the last one in ssh-broker-config.xml. See known-hosts for details.


Highlights from the SSH.COM blog:

  • Cryptomining with the SSH protocol: what big enterprises need to know about it

    Cryptomining malware is primarily thought of as targeting desktops and laptops and is used to hijack system resources to mine cryptocurrency.
    Read more
  • SLAM the door shut on traditional privileged access management

    Did you know that something as trivial-sounding as granting access for your developers or third parties to a product development environment can throw a gorilla-sized monkey wrench into your operations and productivity?
    Read more
  • We broke the IT security perimeter

    Everyone understands the concept of a security perimeter. You only gain access if you are identified and authorized to do so.
    Read more