SUMMARY: rsync asking for root password ????

From: German, Vinnie <Vgerman_at_us.nomura.com>
Date: Fri Apr 15 2005 - 17:16:09 EDT
Special thanks to:

 

Matt Clausen [mclausen@csit.fsu.edu]

Adam Levin [levins@westnet.com]

dave@umiacs.umd.edu <mailto:dave@umiacs.umd.edu> 

Matthew Stier [Matthew.Stier@us.fujitsu.com]

Brewer, Dwight R.  CONTRACTOR [Dwight.Brewer_CONTRACTOR@dtra.mil]

g@ry [loverboi@gmail.com]

William Enestvedt [William.Enestvedt@jwu.edu]

Tim Chipman [chipman@ecopiabio.com]

 

Thanks again guys.

 

 

My posting is down below and here is the answer :

 

 

Here's what you want to do:

 

on Machine A (which is defined as the machine that will be sshing to a
different machine) you need to run this command as root:

 

ssh-keygen -t dsa -f ~/.ssh/id_dsa -N ""

 

Which will create two files: id_dsa and id_dsa.pub

 

Copy id_dsa.pub to Machine B and put it in the .ssh directory for root as
authorized_keys and authorized_keys2 (some SSH installs use authorized_keys
and others use authorized_keys2).

 

Now if you SSH from Machine A to Machine B, it should not prompt you for a
password at all and just log you right in.

 

 

 

   _____  

From: German, Vinnie 
Sent: Friday, April 15, 2005 2:30 PM
To: sunmanagers@sunmanagers.org
Subject: rsync asking for root password ????

 

 

 

Hello,

 

I'm rsycing data from ServerA to ServerB and data is being rsyced fine
however

Having the inconveniences of asking me for password every time data is
synced

Which is something I can not afford since I will be running this out of
cron.

 

I'm using ssh on a Solaris 8 environment.  Does someone have an idea on
which

File will need to be modified to stop rsync from requesting root password?

 

Thanks in advance,

Vinnie.

 

-----  This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please delete it and all copies from your
system, destroy any hard copies and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. Nomura Holding
America Inc., Nomura Securities International, Inc, and their respective
subsidiaries each reserve the right to monitor all e-mail communications
through its networks. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorized to state the views of such entity. Unless otherwise stated,
any pricing information in this message is indicative only, is subject to
change and does not constitute an offer to deal at any price quoted. Any
reference to the terms of executed transactions should be treated as
preliminary only and subject to our formal written confirmation.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Apr 15 17:16:41 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:45 EST