courtneyellis / macfuse

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

SSHFS is cool, but doesn't recognize keys from the gui or, seemingly, from the cmd line #341

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. sshfs-static  -o ssh_command="ssh -i .ssh/your_pub_key" user@box:/path 
/local/path 
2.
3.

What is the expected output? What do you see instead?
You would expect it to ask for string, it instead 
remote host has disconnected

What version of the product are you using? On what operating system?
baryon:~ sean$ sshfs --version
SSHFS version 1.8 (MacFUSE SSHFS 1.0.0)
MacFUSE library version: FUSE 2.7.2 / MacFUSE 1.3.1
MacFUSE mount version 1.3.1
MacFUSE kernel interface version 7.8

baryon:~ sean$ system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: Mac OS X 10.5.2 (9C31)

Please provide any additional information below.

Great idea, and works for what it does, but ssh has to use keys! thanks,
s.

Original issue reported on code.google.com by sean.me...@gmail.com on 10 Apr 2008 at 11:39

GoogleCodeExporter commented 8 years ago
sshfs does work with public key authentication. If you read the help output 
carefully:

> sshfs -h
...
    -o SSHOPT=VAL          ssh options (see man ssh_config)
...

Then, as indicated, see man _config if necessary.

So, something like:

sshfs user@host:/remote/dir /local/dir -oIdentityFile=~/.ssh/my-identity-file...

Original comment by si...@gmail.com on 10 Apr 2008 at 5:58