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

SSH Tectia

Using the Configuration File (Unix)

To configure the client to authenticate itself with an X.509 certificate, perform the following tasks:

  1. Enroll a certificate for yourself. This can be done, for example, with the ssh-cmpclient-g3 or ssh-scepclient-g3 command-line tools.

    Example: Key generation and enrollment using ssh-cmpclient-g3

    $ ssh-cmpclient-g3 INITIALIZE 
    -P generate://ssh2:passphrase@rsa:1536/user_rsa \  
    -o /home/user/.ssh2/user_rsa -p 62154:ssh \
    -s 'C=FI,O=SSH,CN=user;' \
    -S \
    'C=FI, O=SSH, CN=Test CA 1'

    For more information on ssh-cmpclient-g3 and ssh-scepclient-g3, see ssh-cmpclient-g3(1) and ssh-scepclient-g3(1).

  2. Place your keys and certificates in a directory where the Connection Broker can locate them.

    By default, the Connection Broker attempts to use each key found in the $HOME/.ssh2 directory on Unix, or in the %APPDATA%\SSH\UserKeys and %APPDATA%\SSH\UserCertificates directories on Windows.

    On Windows, you can also add other directory locations for keys on the Keys and Certificates page of the SSH Tectia Configuration tool. See Managing Keys and Certificates. On Unix, you can use the general/key-stores/key-store element in the ssh-broker-config.xml file. See the section called “Key Store Configuration Examples”.

  3. (Optional) Create an identification file.

    Using the identification file is not necessary if all your keys are stored in the default directory and you allow all of them to be used for public-key and/or certificate authentication. If the identification file does not exist, the Connection Broker attempts to use each key found in the default directory. If the identification file exists, the keys listed in it are attempted first.

    Specify the private key of your software certificate in the $HOME/.ssh2/identification file (the CertKey option works identically with the IdKey option):

    CertKey     user_rsa

    The certificate itself will be read from user_rsa.crt.

    For more information on the syntax of the identification file, see $HOME/.ssh2/identification.

  4. Make sure that public-key authentication is enabled in the ssh-broker-config.xml file (it is enabled by default).

      <auth-publickey />

    Other authentication methods can be listed in the configuration file as well. Place the least interactive method first.


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