- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RSYNC PASSWORD
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 02:20 AM
тАО09-18-2006 02:20 AM
RSYNC PASSWORD
i have 2 servers running HP-UX 11.23 ,
i have installed Rsync on both servers,
Rsync work properly ,but my problem is that it asks me always for a password
rsync -av /tm/test node2:/tmp/test1
password:
when i put the root password of the node2 server thersync work well
but how can i eliminate the question of password ,
i tried to put the password in a file and specify it in the --password-file option ,and i tried also the environnement variable rsync_password , also i tried to generate ssh keys with ssh-keygen -t rsa and not specifying a password , but all of these did not work , always i'm prompted for a password
can someone have ideas about that ?
thank u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 03:36 AM
тАО09-18-2006 03:36 AM
Re: RSYNC PASSWORD
man rsync
then search for phrase:
password-file
Other than doing this, I think your only other option is to trust servers to each other using .rhosts file, which I would avoid, if I were you.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 04:42 AM
тАО09-18-2006 04:42 AM
Re: RSYNC PASSWORD
If you use the -e ssh option on rsync the authethtication and testing will be encrypted.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-18-2006 04:47 AM
тАО09-18-2006 04:47 AM
Re: RSYNC PASSWORD
writeable directory in the path to the key.
The authorized_keys file should have
permisions 600 or 400. Likewise the private
key. Check permissions at both ends.
Try ssh to the destination server after
generating the keys there and adding the
server's public key to the client's
authorized_keys file. If that works then
rsync with ssh should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-19-2006 01:32 AM
тАО09-19-2006 01:32 AM
Re: RSYNC PASSWORD
Also note that using ssh will increase the packet overhead by 100% for encryption, so, if it's completely internal and speed is your greatest concern, you may want to enable using remsh instead.
I've done extensive testing for speed and can definitively note that remsh is fastest, add a checksum (-c) and it will slow down, also adding ssh will half the speed, and further loss with a checksum again.
Ensure that remsh (or ssh) is in the path on the other end, otherwise it won't work. Same goes for rsync (unless you use the --rsync-path= option.)
Bill is right, test to see that you have passwordless authentication using ssh (or remsh / rlogin / rcp) Once that is working, rsync is good to go.
Remember, rsync is just a mirroring algorithm and. ssh or remsh is the transport medium.