Date: Thu, 11 Dec 2003 23:16:05 +1030 From: Malcolm Kay <malcolm.kay@internode.on.net> To: "KURT BUFF" <kurtbuff@spro.net>, <freebsd-questions@freebsd.org> Subject: Re: scp between windows and freebsd Message-ID: <200312112316.05839.malcolm.kay@internode.on.net> In-Reply-To: <2988.66.14.88.176.1071089401.squirrel@webmail.spro.net> References: <2988.66.14.88.176.1071089401.squirrel@webmail.spro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 particula= r > 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 ro= ot? 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312112316.05839.malcolm.kay>