scp between windows and freebsd
kurtbuff at spro.net
Thu Dec 11 14:53:13 PST 2003
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.
| 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 >>
| 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.
More information about the freebsd-questions