Re: [NF] Rsync usage scenario?

Author: <kamcginnis@gmail.com>

Posted: 2010-06-23 at 11:25:07

Thank you Paul. I have it working now. It was there in front of me all the time. I just needed someone to tell me where

the keys were put automatically by ssh-keygen

----- Original Message -----

From: "Paul McNett" <p@ulmcnett.com>

To: <profox@leafe.com>

Sent: Wednesday, June 23, 2010 7:38 AM

Subject: Re: [NF] Rsync usage scenario?

On 6/22/10 9:27 PM, kamcginnis@gmail.com wrote:

> Yes, I am using cygwin.

Ok, the key difference on Windows using Cygwin versus *nix machines is that there's

no /home directory. /home is underneath whereever cygwin is installed, usually

c:\cygwin\home. Here's what I did on my Vista machine, in Windows Terminal, to enable

passwordless logins to my server:

ssh-keygen -t dsa

<press enter through every prompt>

<make a note of the directory where it tells you the key is installed,

for me it was /home/Administrator/.ssh/id_dsa.pub>

c:

cd c:\cygwin\Administrator\.ssh

scp id_dsa.pub root@paulmcnett.com:

<enter password>

ssh root@paulmcnett.com

<enter password>

cat id_dsa.pub >> .ssh/authorized_keys2

exit

ssh root@paulmcnett.com

<no password prompt>

HTH

If your client machine is ever compromised, first thing to do is go to the server and

remove the entry in .ssh/authorized_keys2 corresponding to the client, so the thief

can't log on to your server for free.

Paul

[excessive quoting removed by server]

_______________________________________________

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/195a01cb12e8$45ac8d40$7a00a8c0@w2k3s02

** 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 <kamcginnis@gmail.com>