Be careful, it should be a switch, not a hub.
Using a crossover cable: give one machine one IP, the other one another IP on the same subnet and the machines will be able to see each other over TCP/IP
e.g.
192.168.10.10
192.168.10.11
Rsync works immediately if you can SSH into that machine, the setup with a crossover or thru a switch doesn't make any difference.
rsync -uav /sourcdir dest_machine:/destdir
I *think* you can use the IP address for dest_machine. If not, open your /etc/hosts file and add the IP addresses for the other machine in each file, together with a fantasy host name.
If you want to make your own crossover cable:
http://en.wikipedia.org/wiki/Crossover_cable
Last, if you have a switch in your network and you simple connect both computers to that switch, data transfer will be almost as fast as in the "two machines alone" setup. A switch sets up a path between machine A and machine B, and that is not influenced by other computers also connected.
jlinkels