To authorize the key pair for public-key authentication, do the following:
(Optional) Create a file called
identification in your %USERPROFILE%\Application
Data\SSH\UserKeys directory.
Edit it with your favorite text editor to include the following
line (replace mykey with the name you gave to the key pair
in the Key Generation wizard):
IdKey mykey
With SSH Tectia Client 5.x, 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
%USERPROFILE%\Application Data\SSH\UserKeys
directory.
You can also add other directory locations on the Keys and Certificates page of the SSH Tectia Configuration tool. See Managing Keys and Certificates.
Connect to Server using some other authentication
method and copy your public key (for example, mykey.pub)
to your authorized_keys directory
($HOME/.ssh2/authorized_keys on Unix servers,
%USERPROFILE%\.ssh2\authorized_keys on Windows servers).
![]() | Note |
|---|---|
SSH Tectia Server 4.x (or older) requires an Key authorized_keys\mykey.pub This directs SSH Tectia Server to use |
Now you should be able to log in from Client to
Server using public-key authentication.