lifearttw / macfuse

Automatically exported from code.google.com/p/macfuse
0 stars 0 forks source link

sshfs GUI app doesn't appear to use ssh agent #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running the sshfs GUI doesn't take advantage of my SSH agent (SSH
Keychain), and asks for my password on the remote server 3 times (3!), but
running sshfs-static from the terminal does, and I don't need to provide my
password, as I'd expect, as the environmental variable SSH_AUTH_SOCK is
available.

Even if I run /Applications/sshfs.app/Contents/MacOS/sshfs from the
terminal it doesn't seem to pick up SSH_AUTH_SOCK.

Original issue reported on code.google.com by edumb...@gmail.com on 24 Jan 2007 at 8:39

GoogleCodeExporter commented 9 years ago
In fact, if you have keys available then the first passwords it asks for are 
for 
them, not the login password.  That's probably why you had to type your 
password 3 
times -- the first two times failed to decrypt your private keys.  If you type 
the 
password for your private key sshfs.app will use it.  However, it *won't* get 
the 
keys from your SSH agent, (at least not SSH Keychain, which I use) so you'll 
have to 
type the key password every time.  :-(

Original comment by n8gray@gmail.com on 24 Jan 2007 at 10:42

GoogleCodeExporter commented 9 years ago
It's tough here to do much, as the "askpass" API that ssh provides doesn't 
provide
any real feedback as to what the underlying ssh is trying to do. Any ideas on 
how to
improve this would be great.

Original comment by motown...@gmail.com on 25 Jan 2007 at 8:23

GoogleCodeExporter commented 9 years ago
This is a dup of issue 57. Closing this one as that one has a patch :)

Original comment by motown...@gmail.com on 30 Jan 2007 at 6:55