Hervé Fache | 6 Oct 2008 22:05

Re: Feature request: passing password on command line

2008/10/6 Phil Schwartz <phil_schwartz <at> users.sourceforge.net>:
>
> Does sshfs allow for passing the password via an environment variable?  If
> so, that should be sufficient and more secure than using a command line
> option.  If not, that feature could be worthwhile to implement.
>
> Phil

There is no such option, and from my [very quick] look at the code,
everything is done to avoid leaks (password stored in memory that
cannot be swapped), so it looks like the idea is to keep the password
off any kind of permanent storage.

In my case of course, I need a way to give the password to sshfs, and
would rather not re-implement the mechanisms that are in sshfs to do
give it to ssh.

Hervé
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fuse-sshfs mailing list
Fuse-sshfs <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-sshfs

Gmane