Let's say I have 2 pc's set up on a wireless network.

Machine A is my daily driver and it uses Ubuntu 15.04
Machine B is an old pc I want to set up as an ssh server with Debian LXDE(but it boots to terminal).

How do I copy files from machine A to machine B.