cp is only for local file systems. you could use NFS or similar to muont the remote filesystem locally and then use those cp commands, but i'd suggest in this instance to use scp instead, assuming that you already know and trust the ssh connectivity:
scp ./filename otherserver:/home/user/filename
for example
|