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


Storing Remote Server Host Keys

When opening the transparent tunnel or an SFTP session with FTP-SFTP conversion, accepting new or changed server host keys cannot be prompted from the user. In addition, transparent FTP tunneling and FTP-SFTP conversion always use the IP address of the Secure Shell server when opening the secure tunnel. This means that the host keys of the Secure Shell tunneling servers must be stored beforehand based on the IP addresses of the servers.

The keys can be stored by connecting to each host individually with the IP address of the host using an interactive shell and accepting the host keys one by one, or by using the ssh-keydist-g3 key distribution tool. More information and examples on storing remote server keys can be found in Tectia Server 6.6 for IBM z/OS User Manual.

Disabling Host Key Check

As an alternative to storing the remote server host keys, it is possible to disable the host key checking entirely. To do this, set the auth-server-publickey element's policy attribute to "advisory" in the ssh-socks-proxy-config.xml file.


Consider carefully before setting the policy to advisory. Disabling the host key checks makes you vulnerable to man-in-the-middle attacks.

In the following example the auth-server-publickey element is defined under default settings (default-settings/server-authentication-methods). It can also be defined per connection profile (under profiles/profile/server-authentication-methods).

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE secsh-broker SYSTEM 
<secsh-broker version="6.6" >

      <auth-server-publickey policy="advisory" />


For more information on the host key policy settings, see Appendix Connection Broker and SOCKS Proxy Configuration Files in Tectia Server 6.6 for IBM z/OS User Manual.




What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.

    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH

    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now