Re: [NF] Webfaction web hosting notes

Author: Ted Roche

Posted: 2010-06-14 at 13:46:54

On Mon, Jun 14, 2010 at 11:49 AM, <kamcginnis@gmail.com> wrote:

>

> The attributes on the Linux server .ssh is 664

That looks a lot too permissive. You usually want your .ssh directory

to be 700 - and files within that directory 0600

> rsync -av "/cygdrive/c/LocalWindowsFolder/" "webfactionlogin@webxxx.webfaction.com:~/webapps/DestinationFolder"

OK, that's telling rsync to archive files, but it doesn't know to use

ssh. On Linux, I'd add the command option:

--rsh='ssh'

after the -av to tell it to use ssh as the remote shell.

I've still not got sufficient information: are you using the

executable ssh or Plink to try to make your connection? I'm afraid you

might be crossing the beams here: I see you mentioning cygwin (an

awesome POSIX emulator for the WinDOS platform, btw) and Putty. These

are two different ways to implement functionality on Windows: cygwin

creates a POSIX-like environment (and it looks like that's what you're

trying to run the rsync command in) while PuTTY is a re-implementation

of ssh on Windows. PuTTY doesn't do all the things ssh does in the way

that ssh does them. For example, it stores its keys differently.

Either PuTTY or cygwin plus ssh will work, but you shouldn't be mixing

the two.

Assuming you're using PuTTY and rsync (there are some promising Google

hits on those keywords), let's take rsync out of the picture for a

moment, and confirm you can connect from your Windows machine to your

hosted machine using PuTTY. If not, focus on debugging that

connectivity first, then we can introduce rsync into the mix.

--

Ted Roche

Ted Roche & Associates, LLC

http://www.tedroche.com

_______________________________________________

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/AANLkTikBdsR6LEIviSrR3aI6ieU_Vv2k2SDsfALEnSKU@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.

©2010 Ted Roche