any other alternative ? instead of pubkey. i can't distrubute the pubkey to my client.
i try this in my LAN, it's work without ask me for the passwd. but failed for 2 remote server which are behind firewall. isn't it for the auto password (--password-file=rsync.pwd) authetication have to go thru port 873 (default port for rsync server ) ? althrough i started this daemon on port 22 ( rsync -p 22 --daemon ). kindly advice Sean O'Neill wrote: > At 06:43 PM 4/17/2002 +0800, Jack Khoo wrote: > >i try to start the rsync daemon with " rsync -p 22 --daemon" on the remote > >server(host) and then > > > >ps -ef |grep rsync > > root 44262 1 0 01:18:57 - 0:00 /usr/local/bin/rsync -p > > --daemon 22 > > > >"rsync -auvz --password-file=/export/home/tester01/rsync.pwd > >/export/home/tester01/. axlink@host::/home/axlink/rs" > > > >i got the error below: > >rsync: connection unexpectedly closed (0 bytes read so far) > >rsync error: error in rsync protocol data stream (code 12) at io.c(150) > > > >but if i use back "rsync -auve ssh > >-z --password-file=/export/home/tester01/rsync.pwd > >/export/home/tester01/. axlink@host:/home/axlink/rs" > > > >it prompt for password, how do i escape from key in the passwd where auto > >login is possible by refer to rsync.pwd > > Setup ssh with pubkey authentication on both boxes for the accounts you are > using. Works great with rsync. Now you don't have a password HARDCODED on > your system for someone to potentially look at. > > -- > ........................................................ > ......... ..- -. .. -..- .-. ..- .-.. . ... ............ > .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ... > > Sean O'Neill > > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html