Citrix ADC MPX
To create an RSA key with default file name.
ssh-keygen -t rsa
3. Press ENTER when prompted for a file name for the key pair.
Note:
• If you update the default file name for the key pair, use the new name instead of the default
name in the rest of this procedure.
• If you want to disable the internal user login, use “ns_comm_key” as the file name for the
public-private key pair.
4. Press ENTER two times when prompted for a passphrase.
Note: If the client is a Citrix ADC appliance, move the private key file to a persistent location such
as the subdirectories of the /flash and /var directories.
5. Log on to the remote Citrix ADC appliance from the client by using FTP, and perform the follow-
ing:
a) Change directory to /nsconfig/ssh. At the prompt, type:
cd /nsconfig/ssh
b) Use the binary transfer mode to copy the public key to this directory.
bin
put id_rsa.pub
6. Open a connection to the remote Citrix ADC appliance by using an SSH client, such as PuTTY,
and perform the following:
a) Log on to the remote appliance using the administrator credentials.</span>
b) Go to the Citrix ADC shell.
shell
c) At the shell prompt, change the directory to /nsconfig/ssh.
root@ns## cd /nsconfig/ssh
d) Append the public key to the authorized_keys file. At the shell prompt, type:</span>
root@ns## cat id_rsa.pub >> authorized_keys
Note: If the
authorized_keys file does not exist on the appliance, you must first create the file and then
append the contents.
e) Change the permission of the /flash, nsconfig, and ssh directories to 755.
© 1999‒2022 Citrix Systems, Inc. All rights reserved. 157