Samba could be made to do what you are asking, however the details are in the book. Or perhaps take a look at Samba documentation
on their web site.
and I can send a ping from one to the other with no problems
That should mean you could connect. May check to see if sshd
is running for example:
$ ps -ef | grep ssh
root 2431 1 0 Feb20 ? 00:00:00 /usr/sbin/sshd
Also you can check with netstat
$ netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 :::22 :::* LISTEN
The above example shows a listening port 22 which is the ssh port. If either of the above examples fail to show that your machine is running sshd then you can start sshd using the following command:
To set it to start at boot time:
Anyway once you are able to ping each machine and have sshd running then you should be able to use scp to copy files from one machine to the other. I would try to explain samba, however the samba documentation or the book does a much better job of explaining it. Especially the book by Bruce Perens. It actually has examples that would be similar to what you are trying to accomplish.