From owner-freebsd-questions@FreeBSD.ORG Thu Dec 11 14:53:13 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 1BA7A16A4CE for ; Thu, 11 Dec 2003 14:53:13 -0800 (PST) Received: from best.spro.net (smtpout1a.spro.net [204.228.238.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C4FA43D93 for ; Thu, 11 Dec 2003 14:53:11 -0800 (PST) (envelope-from kurtbuff@spro.net) Received: from best.spro.net ([198.60.253.182]) by best.spro.net (Netscape Messaging Server 4.15) with SMTP id HPR68M00.N05 for ; Thu, 11 Dec 2003 15:53:10 -0700 Received: from spro.net (norland.spro.net [198.60.253.65]) by best.spro.net with SMTP (MailShield v1.5); Thu, 11 Dec 2003 15:53:10 -0700 Received: from 66.14.88.176 (SquirrelMail authenticated user kurtbuff) by webmail.spro.net with HTTP; Thu, 11 Dec 2003 15:53:59 -0700 (MST) Message-ID: <2496.66.14.88.176.1071183239.squirrel@webmail.spro.net> Date: Thu, 11 Dec 2003 15:53:59 -0700 (MST) From: "KURT BUFF" To: X-Priority: 3 Importance: Normal X-Mailer: SquirrelMail (version 1.2.8) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SMTP-HELO: spro.net X-SMTP-MAIL-FROM: kurtbuff@spro.net X-SMTP-PEER-INFO: norland.spro.net [198.60.253.65] Subject: RE: scp between windows and freebsd 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: Thu, 11 Dec 2003 22:53:13 -0000 Thank you Malcom! I've found that specifying another account (didn't want to enable remote root login) and putting either authorized_keys or authorized_keys2 into the proper directory worked like a champ. On to more and better work. Kurt | | On Thu, 11 Dec 2003 07:20, KURT BUFF wrote: | > All, | > | > I'm following the directions here: | > | > http://www.unixwiz.net/techtips/postfix-exchange-users.html | > | > to improve the gateway to our Exchange box, and am stuck on | a particular | > step. | > | > I just can't seem to make the Putty SCP work from my workstation. | > | > I used Putty's window copy function to paste into vi to | create the .pub | > file, then used the command line: | > | > "ssh-keygen -i -f /tmp/exchupdate.pub >> | /root/.ssh/authorized_keys2" | > | | Later versions of OpenSSH expect all keys in authorized_keys including | protocol level 2. Which version do you have? | | > on the FreeBSD box per the instructions to convert to an | openssh key, | > then use the following command line to do the copy: | > | > "pscp -2 -i exchupdate.ppk exchusers.txt root@servername:/etc" | > | | Are you aware that by default sshd does not accept | connections to user root? | You must set this specifically in /etc/sshd_config. | PermitRootLogin yes | | Possibly one of these (or both) is your problem. But then again | it might be something quite different. | | Malcolm |