Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2003 15:53:59 -0700 (MST)
From:      "KURT BUFF" <kurtbuff@spro.net>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: scp between windows and freebsd
Message-ID:  <2496.66.14.88.176.1071183239.squirrel@webmail.spro.net>

next in thread | raw e-mail | index | archive | help
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
|







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2496.66.14.88.176.1071183239.squirrel>