Re: SAMBA over SSH

From: Simon Natterer (simon.natterer@informatik.uni-ulm.de)
Date: 04/26/02


From: Simon Natterer <simon.natterer@informatik.uni-ulm.de>
Date: Fri, 26 Apr 2002 02:07:06 +0200

Hy!
                
> I want to mount a SAMBA drive share over SSH on a Windows Box.

I can tell you how the other way round works, to mount a
windows/samba share with smbmount on a linux pc.
You need portforwarding through the ssh tunnel for that.
Then you have to tell smbmount to use another port than 139
(the forwarded local (high) port not 139, the standard port).
I don't think you can tell your windows to use another port.
So perhaps you must use port 139 local. I don't know
if this will work, I think no other windows smb connections will
be possible then. You must use a ssh client that can do
portforwarding like terra-term ssh or cygwin.
You must connect with ssh to the linux machine and forward
port 139 to localhost 139 or perhaps a high port?
But how to tell windows to use the local port???
I don't think this will work... Linux is more flexible.
Perhaps there is an option, don't know.

Hope I could give you some idea how it works...

Simon



Relevant Pages

  • Re: How to GCC? - Bill Campbell/or anybody
    ... his end of the ssh connection. ... ssh extensions and commonly forward port 23 to localhost on the remote ... This allows me to use any terminal emulator on the Windows machine ... the LAN ip of the 3.2v4.2 system. ...
    (comp.unix.sco.misc)
  • Re: Help with putty code
    ... Due to the large number of bots attempting to ssh to my server, ... So to access port ... Unfortunately (under windows) the 1st attempted connection ...
    (comp.lang.c)
  • RE: Spam: Zonealarm+Windows Firewall
    ... I wanted to run an SSH server as a Windows service, ... port via port knocking only when access was needed. ... So I chose to run ZA plus the Windows firewall. ...
    (Security-Basics)
  • Re: FC6 VPN
    ... I don't know of any windows ssh client that supports X forwarding, which is want you want to be looking at. ... Anytime you make a connection between two computers you are using a tcp/ip port. ... If you need to connect to, say a windows share, you would forward your local port to the linux server through the ssh tunnel. ...
    (Fedora)
  • Re: SAMBA over SSH
    ... > I want to mount a SAMBA drive share over SSH on a Windows Box. ...
    (comp.security.ssh)