Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ssh-agent] eval ? pourquoi ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
bulki
Guru
Guru


Joined: 25 Nov 2004
Posts: 529
Location: SiliconValley

PostPosted: Thu Dec 21, 2006 4:34 pm    Post subject: [ssh-agent] eval ? pourquoi ? Reply with quote

Salut tout le monde,

ça faisait un moment que je n'avais plus utilisé ssh-agent pour mes connexions. Maintenant, quand je faisais un
Code:
$ssh-agent
$ssh-add
Could not open a connection to your authentication agent


Et puis ça marchait pas... ensuite j'ai essayé :

Code:
eval `ssh-agent`


Et POUF, ca a marché !

Eval, c'est noté en regardant le man-page: "Construct command by concatenating arguments" , ici je ne comprends pas ce qu'on concatène, encore moins pourquoi ça marche pas sans cette commande...

Merci beaucoup ;)[/code]
Back to top
View user's profile Send private message
El_Goretto
Moderator
Moderator


Joined: 29 May 2004
Posts: 3169
Location: Paris

PostPosted: Thu Dec 21, 2006 4:42 pm    Post subject: Reply with quote

Si je me rappelle bien, la commande ssh-agent ne fait qu'écrire des variables sur la sortie standard. Des outils comme keychain permettent d'automatiser le bestiau.
_________________
-TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum