'rsync ' - using public ip - address to access friend's computer in another state
by pizzipie from LinuxQuestions.org on (#5ETE8)
I live in Idaho and my friend lives in Montana. I am helping my friend set up a new Linux computer and he will need a bunch of my files. He has no experience programming computers.
I am very inexperienced with networking. My experience is limited to transferring files within my LAN. I have used 'rsync', luckyBackup (which uses 'rsync' and which I learned about 'rsync' from) and just sftp. I have never used a public ip address.
My public ip address is something like 66.222.xx.xx
My private ip address is like 192.168.1.xx
His public ip address is something like 66.163.yy.yy obtained from his email header.
His private ip address is ??
I can get his private ip address by asking him. Or better, with his permission, get the private ip address from his email or some other way.
The object of obtaining these addresses is to transfer large files via 'rsync' up to 9GB for virtual box backup files.
My question is how do you use 'rsync' to transfer between ID and MT.
Possible Code:
rsync options SOURCE DESTINATION
# Remote data transfers require you to specify a host's address.
# Copy a File or Directory from Local to Remote Machine
# To copy the directory /home/test/Desktop/Idaho to /home/test/Desktop/Montana
# on a remote machine, you need to specify the IP address of the destination.
rsync -av /home/test/Desktop/Idaho 192.168.56.100:/home/test/Desktop/MontanaI don't see how you would use the public ip addresses here.
Code:??????
rsync -av /home/test/Desktop/Idaho 66.163.yy.yy::192.168.56.100:/home/test/Desktop/MontanaIgnorant in Idaho.
R


I am very inexperienced with networking. My experience is limited to transferring files within my LAN. I have used 'rsync', luckyBackup (which uses 'rsync' and which I learned about 'rsync' from) and just sftp. I have never used a public ip address.
My public ip address is something like 66.222.xx.xx
My private ip address is like 192.168.1.xx
His public ip address is something like 66.163.yy.yy obtained from his email header.
His private ip address is ??
I can get his private ip address by asking him. Or better, with his permission, get the private ip address from his email or some other way.
The object of obtaining these addresses is to transfer large files via 'rsync' up to 9GB for virtual box backup files.
My question is how do you use 'rsync' to transfer between ID and MT.
Possible Code:
rsync options SOURCE DESTINATION
# Remote data transfers require you to specify a host's address.
# Copy a File or Directory from Local to Remote Machine
# To copy the directory /home/test/Desktop/Idaho to /home/test/Desktop/Montana
# on a remote machine, you need to specify the IP address of the destination.
rsync -av /home/test/Desktop/Idaho 192.168.56.100:/home/test/Desktop/MontanaI don't see how you would use the public ip addresses here.
Code:??????
rsync -av /home/test/Desktop/Idaho 66.163.yy.yy::192.168.56.100:/home/test/Desktop/MontanaIgnorant in Idaho.
R