From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 12:51:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37F6216A4B3 for ; Sat, 20 Sep 2003 12:51:54 -0700 (PDT) Received: from mauibuilt.com (mauibuilt.com [205.166.249.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46F4143FBD for ; Sat, 20 Sep 2003 12:51:53 -0700 (PDT) (envelope-from freebsdq@mauibuilt.com) Received: from mauibuilt.com (localhost.mauibuilt.com [127.0.0.1]) by mauibuilt.com (8.12.8p2/8.12.6) with ESMTP id h8KJpdjB008466; Sat, 20 Sep 2003 09:51:52 -1000 (HST) (envelope-from freebsdq@mauibuilt.com) Received: (from freebsdq@localhost) by mauibuilt.com (8.12.8p2/8.12.6/Submit) id h8KJpcLx008465; Sat, 20 Sep 2003 09:51:38 -1000 (HST) From: FreeBSD MAIL Message-Id: <200309201951.h8KJpcLx008465@mauibuilt.com> In-Reply-To: <1064065423.749.21.camel@tyrael.linnet> "from sebastian ssmoller at Sep 20, 2003 03:43:43 pm" To: sebastian ssmoller Date: Sat, 20 Sep 2003 09:51:38 -1000 (HST) X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Samba over SSH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2003 19:51:54 -0000 I guess the problem I am having is with PuTTY, I am forcing ssh 2 and putting in the ports and addresses for the client and server as best I can, I have been able to get VPN to work over pptp, which is cool but I would prefer using ssh. If you have a copy of putty laying around would you mind trying it? Or even teraterm-ssh, I am reluctant to use cygwin and such because of the user interface. Thanks again. Richard Puga puga@mauibuilt.com PS Have you gotten this to work with cygwin or somthing before? > > I am using FreeBSD 4.8 and Samba 2.2.8 as the server, I would like to use any > > windows operating system for the client side, but probably XP. > > (I want to map the samba share to the windows box) > > > > so one idea could be to start three ssh tunnels from client side. which > command line u may wonna do something like this: > > $ ssh -L 137:localhost:137 -N -f user@sambaserver.urdomain.org > $ ssh -L 138:localhost:138 -N -f user@sambaserver.urdomain.org > $ ssh -L 139:localhost:139 -N -f user@sambaserver.urdomain.org > > (putty should be able to do something similar. but i guess u will need > some scripting so that these ssh commands will be executed on startup of > the client systems or at least before the shares will be mounted of > course.) > > now u should be able to connect ur clients to any share on server side > with "\\localhost\share-name" > > i am not familiar with VPN. possibly its a better solution (?) > > seb > > > Thanks for your Help > > > > Richard Puga > > puga@mauibuilt.com > > > > > > > On Sat, 2003-09-20 at 08:25, FreeBSD MAIL wrote: > > > > I want to use PuTTY and ssh to port forward and map a samba share across the > > > > internet. From what I have read on the net it almost seems possable. > > > > > > i guess u have to set up ssh port forwarding for the ports 137,138 and > > > 139. > > > > > > which box shall provide the share (windows, fbsd, linux...) ? what kind > > > of OS is used on the client boxes ? > > > > > > seb > > > > > > > > > > > Does anyone know how this can be done? If it cant I guess I will have to use > > > > some VPN thing.. > > > > > > > > Thanks in advance > > > > > > > > Richard Puga > > > > puga@mauibuilt.com > > > > > > > > _______________________________________________ > > > > freebsd-questions@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >