First verify that sshd is up and listening on the machine you're trying to connect to. Just run (on that machine):
netstat -al
You should see an entry like this:
Code:
tcp 0 0 yourhostname:ssh *:* LISTEN
If you have sshd up and running, you can copy a file from where you are working to the remote machine using:
Code:
$> scp <file> <username>@<remotehost>:{<directory>}
Where username is obviously a user on the machine your connecting to and remotehost is the name of the host or its ip address.
If you get a "connection refused" then you need to check your firewall or /etc/hosts.allow file.
Check out this howto on how to use the scp command:
http://physics.clarku.edu/courses/125/help/ssh.html