Comment 2 for bug 397145

Revision history for this message
Jirka Daněk (juraad) wrote :

According to Ubuntu Forum post http://ubuntuforums.org/showthread.php?t=682608) it looks that the import is carried out automatically when _both_ id_rsa and id_rsa.pub are present in the .ssh folder.

I was solving a similar problem and the key just popped out in Seahorse when I added the public key. Private key alone is apparently not enough. Maybe that is because in .pub is actually saved the key comment.

So I just did ssh-keygen -y to generate public one, pasted it into gedit, saved as id_rsa.pub and it just works.

BTW, I guess that MIME types doesn't really play a role. For me, in nautilus, id_rsa gets detected as type "Dokument VHDL (text/x-vhdl)" and id_rsa.pub as "Prostý textový dokument (Plain text document) (text/plain)" ;-)