Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
en:documentation:tutorials:ssh:clef_agent_ssh [2020/05/07 15:51] – [MacOS X] ltaulellen:documentation:tutorials:ssh:clef_agent_ssh [2020/05/13 13:55] – Pas de dif EN/FR fleroux
Ligne 2: Ligne 2:
 ====== Use SSK keys and SSH agent ====== ====== Use SSK keys and SSH agent ======
  
-Most oftenly, the SSH client is used with a pair ''[user + password]'' to connect to a remote machine.ne dis­tante. +Most oftenly, the SSH client is used with a pair ''[ user + password ]'' to connect to a remote machine.ne dis­tante. 
  
 However, it is possible to use keys  However, it is possible to use keys 
Ligne 120: Ligne 120:
 </code> </code>
  
 +  * KDE startup script:
 +
 +<code bash>
 +#! /bin/bash
 +# Put this in ~/.kde/Autostart/ssh-agent.sh
 +# or ~/.config/autostart-scripts/ssh-agent.sh
 +export SSH_ASKPASS=/usr/bin/ksshaskpass
 +/usr/bin/ssh-add ~/.ssh/id_rsa  # or any key you want
 +</code>
 ==== MacOS X ==== ==== MacOS X ====
  
Ligne 126: Ligne 135:
   * Install and use [[http://www.funtoo.org/wiki/Keychain|keychain]] (CLI tool, use MacOS X package).   * Install and use [[http://www.funtoo.org/wiki/Keychain|keychain]] (CLI tool, use MacOS X package).
  
-Vous pouvez utiliser un script (dans votre ''~/.bashrc''pour le démarreret l'utiliser automatiquement dans Terminal :+You can use a script (in your ''~/.bashrc''to start keychainand use it in Terminal: 
 <code bash> <code bash>
 # add key(s) to agent # add key(s) to agent
Ligne 132: Ligne 142:
 </code> </code>
  
-  * Si vous utilisez MacOSX Keychain, ajoutez l'option ''--inherit any'' :+  * On MacOSX Keychain, you may add the option ''--inherit any'':
 <code bash> <code bash>
 # add key(s) to agent # add key(s) to agent
Ligne 138: Ligne 148:
 </code> </code>
  
-<note important>Sià chaque ouverture de Terminal, keychain demande votre passphrase, enlevez l'option ''--inherit any''</note>+<note important>Ifevery time you open a new Terminal window, keychain ask for your passphrase, remove the ''--inherit any'' option</note>
  
-  * Installer et utiliser [[http://sshkeychain.sourceforge.net/|SSHKeyChain]] (outil graphique)+  * Install and use [[http://sshkeychain.sourceforge.net/|SSHKeyChain]] (GUI tool)
  
  
-<note tip>Pour bénéficier de "l'export X", il faut aussi démarrer le serveur X sur le Macvoir [[documentation:tutorials:ssh:clef_agent_ssh#export_x_pour_macos_x|X11 et MacOS X]]</note>+<note tip>For "exportto workyou need to activate MacOS X11 server (XQuartz)see  
 +[[documentation:tutorials:ssh:clef_agent_ssh#export_x_pour_macos_x|X11 and MacOS X]]</note>
  
  
Ligne 149: Ligne 160:
 ==== Windows ==== ==== Windows ====
  
-Sur Windows, il faut utiliser le logiciel PuTTY, dont l'usage est expliqué [[documentation:tutorials:ssh:putty|sur cette page]].+On Windows, you need to use PuTTY, see [[documentation:tutorials:ssh:putty|this page]]. 
  
 ===== Broadcast the public key ===== ===== Broadcast the public key =====