I want to analyse what raw-data rsync transfers across for a sample input file. So I am using rsync over rsh (As traffic captured in wireshark will be easy to interpret).
I am using following rsync command :- but there is no traffic generated when I apply filter of rsh in wireshark
akshay@akshay:~$ rsync -avz checkport.txt --rsh [email protected]:/home/ajay/Desktop/
sending incremental file list
-rw-rw-r-- 25 2013/01/09 22:19:14 checkport.txt
sent 67 bytes received 76 bytes 286.00 bytes/sec
total size is 25 speedup is 0.17
also ,I get following error when I use rsync the following way over rsh
akshay@akshay:~$ rsync -avz -e rsh checkport.txt [email protected]:/home/ajay/Desktop/
Permission denied.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(224) [sender=3.1.0dev]
But, in this case the traffic is generated in wireshark for rsh.(but,its data is not visible). Permission denied is reply from the remote side
Additional info: - rsh-server and rsh-client is installed on both hosts. please bring to my notice , if I am missing anything here.
[EDIT]: Also , I have put rsync as filter option in wireshark still no traffic is captured when I run rsync command. What Do I do to capture rsync traffic in wireshark. Thanks in advance.