Cray CX1000 Guide de l'utilisateur Page 16

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 169
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 15
Cray XMT Programming Environment Users 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 S247920
Vue de la page 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 168 169

Commentaires sur ces manuels

Pas de commentaire