Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

7
  • Who is exporting and who is mounting? Your use of "from" is confusing. Is windows exporting via smb or Ubuntu?
    – terdon
    Commented Apr 1, 2013 at 18:14
  • how do I mount a Windows share from a Ubuntu Server. The Window share is on another network and I cannot open any ports on the network that is hosting this windows share. So correct me if I am wrong, but I would setup a Reverse SSH tunnel via putty on the Windows machine and setup portfordwarding in order to access the Windows share on the Ubuntu Server, correct? Commented Apr 1, 2013 at 18:20
  • Ok, so with out any help from this form, I believe I am getting a little closer. I have setup a successful Reverse ssh tunnel to view my Windows laptop webserver that sits behind a firewall on another network from my Ubuntu Server. Putty portforward source:9090 destination localhost:80 and make sure the remote/auto options are clicked. Once resverse tunnel is established from putty (Windows laptop), try wget localhost:9090 from your Ubuntu machine. If you get your files transferred then the reverse ssh to your Windows laptop that sits behind firewall from your Ubuntu Server worked Commented Apr 2, 2013 at 14:38
  • Well done for figuring that out! Could you please post your solution as an answer so others can benefit from it?
    – terdon
    Commented Apr 2, 2013 at 14:40
  • Now that I know Reverse SSH works, how would I get to my Windows share that is on the Windows laptop behind an unaccessable firewall, from my Ubuntu Server? I tried to set putty (plink would work as well) on my Windows machince to portforward source 4445 destination localhost:445, remote button clicked. Then use the command from my Ubuntu Server(connected from putty session): smbclient -L //localhost -p 4445 -U "Username" to list the reverse ssh Windows share. FAILED! Error: read error = NT_STATUS_END_OF_FILE. hmmmm not to sure what this means? Commented Apr 2, 2013 at 14:47