Seahorse "Invalid file format" when importing key
Can someone help me out with why I can't import one of my SSH keys in to Seahorse? I get the following error when I try:
Quote:
Quote:
Gnome 2.26 w/ Seahorse 2.26.2 |
How did you generate this key? The filename & format look foreign.
Code:
-----BEGIN DSA PRIVATE KEY----- The ssh-keygen program can import some keys from commercial products and convert them to an ssh2 format. |
I tried this, redirecting to a new file but the new file still can't be imported because of the same error.
Code:
fukawi2 ~ $ ssh-keygen -e -f .ssh/privatekey_nwb.dsa |
I generated another temp dsa key. The form looks just like the one from your original post.
Look at the default .xinitrc file, possibly from /etc/skel/.xinitrc-sample. Code:
# run Xmodmap settings If you use gdm or xdm, grep the config files for ssh-agent or usessh. This would allow you to run ssh-add when you log in and not need to do it again every time you open a new terminal. I had tried putting similar code in .profile but for some reason, I would be prompted twice. |
I don't think so -- everything we do / use is Linux-based. We have our own internal distribution based off FC6 and AFAIK it's just standard OpenSSL / OpenSSH. I'll check with him though.
|
Sorry, I discovered my own post was wrong and changed it on you.
It looks like seahorse doesn't handle the ssh-agent key. Using ssh-agent on login should work out just as well. |
Thanks -- I didn't have an .xinitrc so I copied from /etc/skel/ but it didn't have anything about SSH ask pass. I've copied and pasted from your post so I'll see how that goes :)
|
I don't know if this will help, but here is the pstree output leading to ssh-agent on my laptop.
Code:
|-kdm-+-Xorg Code:
# Source scripts found in <localprefix>/env/*.sh and <prefixes>/env/*.sh eval $(ssh-agent) ssh-add The ssh-add program uses environmental variables set for the session. ssh-agent needs to be run before ssh-add. Also look in /etc/X11/xdm/sys.xsession. Your system may source it even if xdm isn't used. It has options for ssh, gpg and even has notes about seahorse. Code:
# |
All times are GMT -5. The time now is 01:23 AM. |