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

SSH Tectia

Generating the Host Key

The host public-key pair (1536-bit RSA) is generated during the installation of SSH Tectia Server. You only need to regenerate it if you want to change your host key pair.

The command-line tool ssh-keygen-g3 can be used to generate the host key pair. It can be used for creating the user key pairs as well.

On Unix, to (re)generate the host key, give the following command with root privileges:

# ssh-keygen-g3 -P -H hostkey

On Windows, to (re)generate the host key, give the following command:

ssh-keygen-g3.exe -P -H hostkey

This will generate a 2048-bit DSA key pair (without a passphrase) and save it in the default host key directory (/etc/ssh2 on Unix, "C:\Program Files\SSH Communications Security\SSH Tectia\SSH Tectia Server" on Windows) with the names hostkey and hostkey.pub. For more information on the key generation options, see ssh-keygen-g3(1).

After the new key pair has been created, run ssh-server-config-tool to reconfigure the server. See ssh-server-config-tool(8).

[Note]Note

The private key of the server must never be readable by anyone but root on Unix and by the Administrators group and the SYSTEM account on Windows. Store the private key in a safe directory where access is denied for all others.


 

 
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