From owner-freebsd-questions@FreeBSD.ORG Mon Jul 9 05:44:59 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 912A216A400 for ; Mon, 9 Jul 2007 05:44:59 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from eskimo.tundraware.com (eskimo.tundraware.com [66.92.130.161]) by mx1.freebsd.org (Postfix) with ESMTP id 37C3413C457 for ; Mon, 9 Jul 2007 05:44:59 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [66.92.130.199]) (authenticated bits=0) by eskimo.tundraware.com (8.14.1/8.14.1) with ESMTP id l695ioQq044733 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 9 Jul 2007 00:44:52 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4691CB4E.5010606@tundraware.com> Date: Mon, 09 Jul 2007 00:44:46 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 References: <20070709004641.GA28114@thought.org> <20070709151811.75677f9d@localhost> In-Reply-To: <20070709151811.75677f9d@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-tundraware.com-MailScanner-Information: Please contact the ISP for more information X-tundraware.com-MailScanner: Found to be clean X-tundraware.com-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 1, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-tundraware.com-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: Gary Kline , FreeBSD Mailing List Subject: Re: severely OT; re PUTTY [ssh] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 05:44:59 -0000 On Sun, 8 Jul 2007 17:46:41 -0700 Gary Kline wrote: > >> I was able to find, ldown load and instal the DOS/Windows ssh >> utility, but am having trouble scp'ing stuff between my BSD side >> and my W2K server. Anybody know what file I have to modify to >> get permission on the windows computer? OK - there are two scenarios: 1) Running the command from a Windows command shell to/from BSD (really pscp, right? - that's what comes with putty): pscp user@host:sourcefile localfile - Copies file from BSD to Windows pscp localfile user@host:destfile - Copies local file to BSD This should work out of the box assuming there are no authentication or firewall problems in the way. If you're running WinXP/Vista you may have to open the Windows firewall to permit this. You can see what's going on by having pscp be "verbose" by sticking a -v flag into the command: pscp -v ..... 2) Running the command from BSD to/from Windows This is harder. You have to be running a ssh daemon (sshd) on your Windows machine. This is very doable, but you'll need something like cygwin to get sshd for Windows and then you'll have to configure it appropriately. The good thing about this (although it is kind of a pain) is that it gets around an interesting limitation in WinDoze. Microsoft does allow you to telnet into your Windows client machine but it only allows ONE such login at a time (because, if you wanted more than one login, surely you need WinDoze Server ... which is WAY more money). If you install sshd on your machine, you now have more-or-less unlimited logins via ssh from other machines. Similarly, on Windows Server, you probably need a CAL for each telnet connection. I do not quite understand Microsoft's licensing terms (does anyone?), but it _may_ be the case that running sshd on a Windows Server and using ssh to get to it _may_ get you around paying for extra CALs. YLFMV (Your Legal Fees May Vary). You didn't provide any particulars (in the future, an exact description of what is- and is not working is VERY useful for those of us trying to help ;), but, if I had to guess, I'd say you're having one of two problems: 1) You're trying to do the file copy from BSD to/from Windows and you don't have an sshd daemon running on Win32. 2) You're trying initiate the copy from Windows (which should work), but the Windows firewall is blocking the connection. HTH, P.S. If anyone tells anyone else that I know this stuff about Windows I will deny it loudly and come looking for you. I do not need any more conversations that start with, "Oh, you're a computer engineer - I have this problem with my/childrens'/wife's/dog's Windows machine..." :) -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/