Supported SSH key file formats

If your SSH server requires public key authentication or you want to enable SSH host key verification, you will need to import an SSH key from a file.

NetDetour supports SSH key files in the OpenSSH format.

For authentication, you'll need to provide the private key associated with your SSH user.

For host key verification, you'll need your server's host key, which is a public key. By default, OpenSSH on Linux stores public host keys at the following paths:

  • /etc/ssh/ssh_host_rsa_key.pub (SSH2 RSA)
  • /etc/ssh/ssh_host_dsa_key.pub (SSH2 DSA)
  • /etc/ssh/ssh_host_ecdsa_key.pub (SSH2 ECDSA)
  • /etc/ssh/ssh_host_key.pub (SSH1 RSA)

Was this article helpful?