Author: Ted Roche
Posted: 2010-06-15 at 16:30:24
On Tue, Jun 15, 2010 at 3:43 PM, <kamcginnis@gmail.com> wrote:
> I have tried both.
>
If you have both PuTTY and CygWin's ssh available, I would use the
CygWin, since you'll be running in a consistent POSIX environment for
both the ssh and rsync. Start a CygWin command shell and try to ssh
from the Windows server to the webfaction box:
ssh -vvv username@http://webxxx.webfaction.com/
If that lets you in without asking for a password, then you can use
the --rsh='ssh' commandline option I suggested before. If not, you may
need to add the proper private key (with the proper permissions) to
your .ssh directory on the Windows machine. The -vvv makes verbose
output that should suggest what you need to troubleshoot.
When you have ssh working correctly, you can add an entry (or create
the file) .ssh/config to give yourself a simple shortcut for the
command line, with an entry something like:
Host MyWebFactionHost
Hostname http://webxxx.webfaction.com/
User webfactionlogin
Port 22
IdentityFile /home/kam/.ssh/id_rsa
and then the rsync command is simplified to
rsync -avz --rsy='ssh' mylocalhost:localfilespec MyWebFactionHost:
Rsync will automatically invoke ssh which in turn will recognize the
configuration options for that host.
--
Ted Roche
Ted Roche & Associates, LLC
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/AANLkTikHIDseLRwAnLfXmu6LiqnrrX9JxKMKIApWLFAM@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.