SSH

File Locations on Windows

On Windows, the default installation directory (<INSTALLDIR>) for Tectia products is:

  • "C:\Program Files\SSH Communications Security\SSH Tectia" on 32-bit Windows versions

  • "C:\Program Files (x86)\SSH Communications Security\SSH Tectia" on 64-bit Windows versions

On Windows, the Tectia Server files are located in the following directories:

  • "<INSTALLDIR>\SSH Tectia Server": system binaries such as ssh-server-g3.exe

    • "<INSTALLDIR>\SSH Tectia Server\ssh-server-config.xml": server configuration file (see ssh-server-config(5))

      [Note]Note

      For the server (and its configuration tool) to start, the configuration file must have correct permissions. Make sure that the owner of the file is a member of the Administrators group, only Administrators and SYSTEM may have full control of the file, Users are not allowed to modify the file, and other accounts do not have access to the file.

    • "<INSTALLDIR>\SSH Tectia Server\ssh-server-config-default.xml": sample file that shows the hardcoded system defaults of the server configuration

    • "<INSTALLDIR>\SSH Tectia Server\ssh-server-config-example.xml": sample file that shows useful examples for the server configuration

    • "<INSTALLDIR>\SSH Tectia Server\hostkey": default server host private key file

    • "<INSTALLDIR>\SSH Tectia Server\hostkey.pub": default server host public key file

    • "<INSTALLDIR>\SSH Tectia Server\random_seed": the seed file for the random number generator

    • "<INSTALLDIR>\SSH Tectia Server\trusted_hosts": directory for host public keys that are trusted for host-based authentication (see Host-Based User Authentication)

  • "<INSTALLDIR>\SSH Tectia AUX": auxiliary binaries such as ssh-keygen-g3.exe

    • "<INSTALLDIR>\SSH Tectia AUX\ssh-server-ng": server configuration file DTD directory

    • "<INSTALLDIR>\SSH Tectia AUX\licenses": license file directory (see Licensing)

    [Note]Note

    Users that log on to SSH server require Read & execute permissions for the following files in the folder <INSTALLDIR>\SSH Tectia AUX:

    • i18n_icu.dll
    • icudt40.dll
    • icuuc40.dll

In addition, two system library files are copied to a Windows directory:

  • "C:\WINDOWS\system32\sshdap.dll": library file for SSH-specific domain authentication package (DAP)

  • "C:\WINDOWS\system32\sshcapture.dll": library file for the ssh-capture feature

Figure 2.2 shows the Tectia directory structure when also Tectia Client has been installed on the same machine.

The Tectia directory structure on Windows

Figure 2.2. The Tectia directory structure on Windows

The user-specific configurations are stored in each user's own directory:

  • %USERPROFILE%\.ssh2\authorized_keys\: the default directory for user public keys that are authorized for login

  • %USERPROFILE%\.ssh2\authorization: (optional) the default authorization file for user public keys.