morenoamaya / win-sshfs

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

winsshfs won't remote mount folder from rdp session #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create user account for both local and remote login sessions
2. install win-sshfs
3. right-click & open desktop icon for win-sshfs in rdp session as user 
(sshfs.exe appears in Task Manager process list, but no GUI panel)
4. right-click & open desktop icon for win-sshfs, GUI panel appears.
5. select Private Key auth, etc.
6. click mount button

What is the expected output?

-> Expect remote folder to appear in Explorer Navigation pane under Computer, 
and to be able to traverse the remote folder & subfolders.

-> Expect button label on mount button in GUI panel to change to unmount.
____________________________________________________

What do you see instead?

-> The button greys out for ~2 secs, then displays "mount" again.

-> The drive shows up in Explorer under Computer a couple of seconds later, but 
disappears after about 15 seconds. If I try clicking on the drive during that 
15 second period I get an error.

-> The remote folder is not accessible.
____________________________________________________

Works fine when launched at the WHS console.
Works (with features) when launched via run-as-admin

What version of the product are you using?

win-sshfs: 0.0.1.5
Client OS: Windows Home Server 2011 (Windows Server 2008R2)
Server OS: Fedora 14
Ssh server: openssh-server-5.5p1

Please provide any additional information below.

1. Out of the box, with my (standard user) account allowed to login both at the 
console and remotely, I see different results when I run sshfs.exe at the 
console versus from an rdp session.

2. running sshfs.exe locally, I can mount a remote folder, walk it, edit files, 
etc.

3. running sshfs.exe from the rdp session, the first launch puts an sshfs.exe 
line in the Task Manager process list but does not bring up the GUI panel. The 
second click brings up the GUI panel.

If I now click the Mount button (same setup as at the console), the mount 
button grays out for a couple of seconds, then returns to the Mount state. The 
drive shows up in Explorer under Computer a couple of seconds later, but 
disappears after about 15 seconds. If I try clicking on the drive during that 
15 second period I get an error.

4. However, if I run sshfs.exe using run-as-Admin, it works both locally and in 
the rdp session. I can walk the remote folder etc.

Original issue reported on code.google.com by jhsny...@gmail.com on 31 Jul 2012 at 10:32

GoogleCodeExporter commented 8 years ago
I did a clean install on a win7 pro VM, and see exactly the same behavior.

Original comment by jhsny...@gmail.com on 1 Aug 2012 at 2:10

GoogleCodeExporter commented 8 years ago
Forgot to mention that I run with UAC enabled, and my user account is a 
standard (unprivileged) account, except that I have added my user account to 
the remote desktop users group.

Original comment by jhsny...@gmail.com on 1 Aug 2012 at 2:46

GoogleCodeExporter commented 8 years ago
Not sure probably a Dokan issue. I'll look into it,but nothing till October.

Original comment by mladenov...@gmail.com on 7 Aug 2012 at 5:05

GoogleCodeExporter commented 8 years ago

Original comment by mladenov...@gmail.com on 7 Oct 2012 at 7:04

GoogleCodeExporter commented 8 years ago
I have the same issue with Win 7 Enterprise 32-bit using password 
authentication. Run As Administrator on sshfs Manager works. Not ideal, but 
passable.

Original comment by oculus.h...@gmail.com on 8 Feb 2013 at 8:56

GoogleCodeExporter commented 8 years ago
A previous e-mail from the maintainer says that any user on the windows box
can look at any file exposed by the Dokan ssfs remote mount.

This kinda defeats one of the key goals of sshfs.

Happy to be corrected if I misunderstood.

Original comment by jhsny...@gmail.com on 9 Feb 2013 at 1:36