leocheang422 / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
0 stars 0 forks source link

Trying to add SSH key fails #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
(possibly related to bug 8)
What steps will reproduce the problem?
1. Try to add private key in Window explorer.

What is the expected output? 
"OK, I've added your private key and will utilize it in the future" or "That 
looks like a corrupt key; I can't use it"

What do you see instead?
The window refuses to accept it. Instead, it refocuses the cursor on the file 
name field and doesn't close the open file dialogue window. This is extremely 
not user-friendly: if sshfs is having a problem with the key, it would be nice 
if it told me so. If it's not having a problem with that, then that bug needs 
to be fixed.

What version of the product are you using?
win-sshfs:0.0.1.4
Client OS:Win 7 x64
Server OS:N/A; can't get that far
Ssh server:(ditto)

Please provide any additional information below.

Original issue reported on code.google.com by PatStu...@gmail.com on 21 Apr 2012 at 8:15

GoogleCodeExporter commented 8 years ago
For now that means that your key format isn't supported.

Original comment by mladenov...@gmail.com on 25 Apr 2012 at 4:56

GoogleCodeExporter commented 8 years ago
It can also mean that it doesn't like the permissions on your file, which is 
the problem I'm having. I keep my private key as "read-only" and "hidden", and 
win-sshfs is not able to use it (if I type the path manually, and try it, it 
says "access to the path is denied"). If I remove the "read-only" attribute, 
the it uses my key file just fine.

Original comment by get...@gmail.com on 7 May 2012 at 6:31

GoogleCodeExporter commented 8 years ago
I have the same problem. 

My private key, ida_rsa, is DSA password protected generated by OpenSSH_5.3p1 
Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009. File is readable and not hidden.

Client is Windows 7, 32b
Sshf Manager 0.0.1.4

If I use a non password protected key it works. It would be nice to shown an 
error message when an error ocurs

Original comment by jof...@gmail.com on 12 May 2012 at 6:37

GoogleCodeExporter commented 8 years ago
Same error, win7, openssh key generated by putty.

Temporary user fix: generate another key without a passphrase

Original comment by rayanchi...@gmail.com on 14 May 2012 at 10:04

GoogleCodeExporter commented 8 years ago

Original comment by mladenov...@gmail.com on 28 May 2012 at 5:38