User`s guide
Setting Up the User Environment [2]
Configuring your user environment on a Cray XMT system is similar to configuring a
typical Linux workstation.
2.1 Setting Up a Secure Shell
Cray XMT systems use ssh and ssh-enabled applications such as scp for secure,
password-free remote access to the login nodes.
Before you can use the ssh commands, you must generate an RSA authentication
key. The process for generating the key depends on the authentication method
you use. There are two methods of passwordless authentication: with or without
a passphrase. Although both methods are described here, you must use the latter
method to access the compute nodes through a script or when using a single-system
view (SSV) command.
2.1.1 RSA Authentication
You can set up RSA authentication with or without a passphrase.
Procedure 1. Setting up RSA authentication with a passphrase
To enable ssh with a passphrase, complete the following steps.
1. Generate the RSA keys by typing the following command and follow the
prompts. The program requests you to supply a passphrase.
% ssh-keygen -t rsa
2. Create a $HOME/.ssh directory and set permissions so that only the file's owner
can access them by typing the following commands:
% mkdir $HOME/.ssh
% chmod 700 $HOME/.ssh
3. The public key is stored in your $HOME/.ssh directory. Copy the key to your
home directory on the remote host (or hosts) by typing the following command:
% scp $HOME/.ssh/key_filename.pub \
username@system_name:.ssh/authorized_keys
S–2479–20 15