scp between windows and freebsd

Malcolm Kay malcolm.kay at internode.on.net
Thu Dec 11 04:46:10 PST 2003


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 at 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



More information about the freebsd-questions mailing list