View previous topic :: View next topic |
Author |
Message |
IsraelBuitronD Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/2684414394ef8ccb19b03e.jpg)
Joined: 24 Jun 2005 Posts: 344 Location: México
|
Posted: Mon Aug 11, 2008 2:25 am Post subject: Problems with ssh-agent |
|
|
Hi!
I had some problems with ssh-agent, I want to add some keys and with I want to use ssh or scp commands.
I have KDE 3.5 and I use Kgpg, but when it starts it shows me a message saying that, kgpg config say that gnupg agent is active but for some reason ssh-agent is not working.
There you have an example, I try to start ssh and the add some key but....:
Code: | neoriddle@neobalam ~ $ ps -Al | grep -i ssh-agent
1 S 1000 6913 1 0 80 0 - 1357 - ? 00:00:00 ssh-agent
neoriddle@neobalam ~ $ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 6913 killed;
neoriddle@neobalam ~ $ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-sxrHPq7386/agent.7386; export SSH_AUTH_SOCK;
SSH_AGENT_PID=7387; export SSH_AGENT_PID;
echo Agent pid 7387;
neoriddle@neobalam ~ $ ssh-agent -k
kill: No such process
neoriddle@neobalam ~ $ ssh-add ~/.ssh/id_rsa
Could not open a connection to your authentication agent.
neoriddle@neobalam ~ $ ps -Al | grep -i ssh-agent
1 S 1000 7387 1 0 80 0 - 1358 - ? 00:00:00 ssh-agent
neoriddle@neobalam ~ $
|
What can I do to solve it?
Thank you! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
manaka Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20909605464cf76b3fdeb81.jpg)
Joined: 23 Jul 2007 Posts: 178 Location: Spain
|
Posted: Mon Aug 11, 2008 4:37 pm Post subject: |
|
|
I think you have to actually define the vars in your shell. ssh-agent only displays the lines that should be typed. _________________ Javier Miqueleiz
"Listen to your heart. It knows all things, because it came from the Soul of the World, and it will one day return there." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|