From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 12:49:14 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 82D8916A4CE for ; Wed, 10 Dec 2003 12:49:14 -0800 (PST) Received: from best.spro.net (smtpout1a.spro.net [204.228.238.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3908043D28 for ; Wed, 10 Dec 2003 12:49:13 -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 HPP5U000.HVI for ; Wed, 10 Dec 2003 13:49:12 -0700 Received: from spro.net (norland.spro.net [198.60.253.65]) by best.spro.net with SMTP (MailShield v1.5); Wed, 10 Dec 2003 13:49:12 -0700 Received: from 66.14.88.176 (SquirrelMail authenticated user kurtbuff) by webmail.spro.net with HTTP; Wed, 10 Dec 2003 13:50:01 -0700 (MST) Message-ID: <2988.66.14.88.176.1071089401.squirrel@webmail.spro.net> Date: Wed, 10 Dec 2003 13:50:01 -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: 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: Wed, 10 Dec 2003 20:49:14 -0000 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" 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" but I keep getting the following two messages on the Windows box: "Authenticating with public key "postfix update users key" "Fatal: Lost connection" and the following on the FreeBSD box: "server2 sshd[36802]: fatal: monitor_read: unsupported request:" This, even though I've made certain to enter a edit the public key to add a comment (using vi) into the public key on the FreeBSD box. I've done some googling, and read some man pages, but can't seem to find out what the heck I'm doing wrong. I've put the authorized_keys2 file into /etc/ssh, /root/.ssh and even /root hoping that it was simply a matter of location, but still no go. Help? Thanks, Kurt