I could not get that cat command to work but it is easy to use filezilla and 
edit the authorized_keys2 file and paste
the contents of the id_dsa.pub file. Anyway, thanks to Paul, because it is 
working great now. I just updated thousands
of files in a few minutes. That would have taken forever to ftp all of those. 
In order to get all the files there the
first time, I used FileZilla for many hours over several weekends. Now with 
rsync, it is smart enough to know which
files have changed. I should have everything automated by next week. Thanks a 
lot to Paul. I knew it would be something
really simple, but sometimes you can stare at something forever and never see 
it. If I had simply looked at the date and
time that the C:\cygwin\home folder was created, that would have led me to the 
location and files I needed.


----- Original Message ----- 
From: "Ted Roche" <[email protected]>
To: <[email protected]>
Sent: Wednesday, June 23, 2010 9:14 AM
Subject: Re: [NF] Rsync usage scenario?


On Wed, Jun 23, 2010 at 10:38 AM, Paul McNett <[email protected]> wrote:

> cd c:\cygwin\Administrator\.ssh
> scp id_dsa.pub [email protected]:
> <enter password>
> ssh [email protected]
> <enter password>
> cat id_dsa.pub >> .ssh/authorized_keys2
> exit

You'll also want to return to the target machine and erase the
original id_dsa.pub from your home directory.

On many Linuxes, the ssh_copy_id script will do this all for you as an
automated task. Really handy.

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
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/197a01cb12f0$978b2240$7a00a...@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.

Reply via email to