User`s guide
Cray XMT™ Programming Environment User’s Guide
4. Connect to the remote host by typing the following commands.
If you are using a C shell, type:
% eval s` sh-agent
%
`
ssh-add
If you are using a bash shell, type:
$ eval s` sh-agent -s
$
`
ssh-add
5. Enter your passphrase when prompted, followed by:
% ssh remote_host_name
Procedure 2. Using RSA authentication without a passphrase
To enable ssh without a passphrase, complete the following steps.
1. Generate the RSA keys by typing the following command:
% ssh-keygen -t rsa -N ""
2. Create a $HOME/.ssh directory and set permissions so that only the file's owner
can access them by typing the following command:
% 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
Note: This step is not required if your home directory is shared.
4. Connect to the remote host by typing the following command:
% ssh remote_host_name
2.1.2 Additional Information
For more information about setting up and using a secure shell, see the ssh(1),
ssh-keygen(1), ssh-agent(1), ssh-add(1), and scp(1) man pages.
16 S–2479–20