Chez ouam

/home/jmfrouin

View on GitHub
24 April 2014

Enregistrer sa passphrase ssh

by Jean-Michel Frouin

Si la passphrase de la clef SSH est demandée à chaque accès à cette dernière :

[09:23:32] jmfrouin@xps13:.../weather (master)$ git fetch
Enter passphrase for key '/home/jmfrouin/.ssh/id_rsa': 
[09:23:38] jmfrouin@xps13:.../weather (master)$ git fetch
Enter passphrase for key '/home/jmfrouin/.ssh/id_rsa': 

Il faut demander, poliment, à ssh-agent, de s'en souvenir, pour nous:

[09:23:41] jmfrouin@xps13:.../weather (master)$ ssh-add ~/.ssh/id_rsa
Enter passphrase for /home/jmfrouin/.ssh/id_rsa: 
Identity added: /home/jmfrouin/.ssh/id_rsa (/home/jmfrouin/.ssh/id_rsa)
[09:24:14] jmfrouin@xps13:.../weather (master)$ git fetch
[09:24:16] jmfrouin@xps13:.../weather (master)$ 

Voilà, votre clef SSH sera à nouveau déverrouillée au prochain reboot.

tags: