Re: how to map drive via ssh?

From: Alan Hadsell (ahadsell@MtDiablo.com)
Date: 12/10/02


From: Alan Hadsell <ahadsell@MtDiablo.com>
Date: Tue, 10 Dec 2002 13:50:32 GMT

Sergei Gnezdov <sergei-gnezdov-pub@pobox.com> writes:

> I'd like to map a drive on Windows machine and tunnel the connection
> over ssh.

I'm assuming that both machines (client and server) are running
Windows. If not, then parts of this message won't make sense.

The SMB protocol used for drive mapping uses UDP packets, which can't
be tunnelled over an SSH connection, so that won't work.

> I could try SAMBA or ftp over ssh, but that sounds too complex to me.

SAMBA doesn't do what you want. It's a server program that runs on
Unix systems and uses the SMB protocol to provide file sharing. So
even if you could run SAMBA on your Windows server, you'd hit the same
problem as above: it won't work over an SSH connection.

FTP over SSH hits a different problem. Because the FTP protocol uses
a "random" port for the data connection, you can't tunnel it (at least
not easily).

I think Nico's right. Use a VPN.

One alternative would be to use the Cygwin/OpenSSH server on your
"server" system, and PuTTY with Secure iXplorer Pro on your "client"
system to access it. Secure iXplorer Pro is a shareware graphical
"explorer-type" client that uses PuTTY to provide a secure connection.

Installing and configuring all this software is likely to be
burdensome. I repeat: Use a VPN.

-- 
Alan Hadsell
If something's already broken, does it really matter how many pieces it's in?
--James Bottomley on lkml


Relevant Pages

  • Re: .Net Scalability problem
    ... LoadRunner will peak out a server with a few virtual users. ... To get an idea of load, ... Fire off the test client and watch the number of ... > So I think that the MTC generate concurrent connection and per ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Connection lost at same time every hour (sometimes)
    ... After making the two following alterations on the server the problem seems ... After analyze your ipconfig on SBS and client, ... Then, other connection is good, ...
    (microsoft.public.windows.server.sbs)
  • Re: server disconnection - very often
    ... Reason of permanent popups is VMware server aplication on clients. ... Run CEICW to configure the network of SBS: ... Two network adapters - manual router connection to broadband ... Uninstall VMware on client. ...
    (microsoft.public.windows.server.sbs)
  • Re: Lan setup 2 nic
    ... The external nic only has TCP/IP enabled. ... Ipconfig of the server is looking good, but the client is still missing the ... > connection so we have a 2 nic with router setup now. ...
    (microsoft.public.windows.server.sbs)
  • Re: Regular disconnections from remote web workplace
    ... I can connect to office server and all office clients from home at all times ... be physically working right up until the connection is lost. ... If I enter http://companyip from a client I receive the login screen for the ... Click Services tab and select Hide All Microsoft Services and Disable ...
    (microsoft.public.windows.server.sbs)