You are not logged in.

#1 2011-08-02 10:35:28

senior_spielbergo
Member
Registered: 2011-02-21
Posts: 29

[solved] gnome-keyring won't save the passphrase for ssh-keys

Hello,

I'm trying to use the gnome-keyring to store the passphrases for my ssh-keys in gnome-terminal.

I started to generate my ssh-keys as described in this article.
After that I transfered the key via "ssh-copy-id" to my other computer.

Then I connected to that computer via nautilus and stored the passphrase. Now it is no problem to connect without typing in the passphrase again.
When I try to connect to that computer via a gnome-terminal ssh asks every time for the passphrase.

I tried a lot of things, but I can't solve this issue.

Does anybody got an idea how to tell the gnome-keyring that it should store the passphrase for connections via terminals?

Any help is appreciated wink Maybe I just don't see the solution, but I'm still new to ssh.

Thanks in advance!

David

Last edited by senior_spielbergo (2011-08-02 15:01:04)

Offline

#2 2011-08-02 13:03:08

alexcriss
Member
Registered: 2010-05-24
Posts: 121

Re: [solved] gnome-keyring won't save the passphrase for ssh-keys

Can I ask how do you open gnome-terminal. I had the same problem when launching gnome-terminal using a shortcut. Can you try to launch it from the application menu? Still not working?

There has been a forum topic on this, try searching for GDM keyring, you should find it

Offline

#3 2011-08-02 14:05:11

senior_spielbergo
Member
Registered: 2011-02-21
Posts: 29

Re: [solved] gnome-keyring won't save the passphrase for ssh-keys

Hi alexcriss,

I tried to open the terminal from the application menu, but it didn't help.

I searched the forum for "GDM keyring" and I found a few topics dealing with similar problems, but I couldn't find a solution.

I have forgotten to tell, that when I enter

ssh-add -L

it returns

The agent has no identities.

Typing

ssh-add ~/.ssh/id_ecdsa

returns:

Enter passphrase for /home/david/.ssh/id_ecdsa: 
Error reading response length from authentication socket.
Could not add identity: /home/david/.ssh/id_ecdsa

Maybe this helps to find the error.

Thanks again,

David

Offline

#4 2011-08-02 14:10:09

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [solved] gnome-keyring won't save the passphrase for ssh-keys

what encryption did you choose for your key?

https://bugzilla.gnome.org/show_bug.cgi?id=641082


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-08-02 15:00:31

senior_spielbergo
Member
Registered: 2011-02-21
Posts: 29

Re: [solved] gnome-keyring won't save the passphrase for ssh-keys

Hey,

thanks wonder. I had a look for bugs concerning my problem, but I didn't find this one. I just use another encryption now.
Just "ecdsa", because the article in the wiki mentioned it. I didn't think much about it.

Thanks again,

David

Offline

Board footer

Powered by FluxBB