A. Buza
02-17-2001, 03:20 AM
I'm trying to transfer files to a remote server. Rcp and/or scp looks like the best bet. I can establish a SSH connection to the server, but after that I'm clueless.. how does one use rcp or scp? Do I even need to be connected to the server?
andrzej
02-17-2001, 10:34 AM
You want to copy the /somedir/foo.bar on the local pc to the home directory at the remote pc. Your username at the remote pc is 'theuser'. After copying the file will be named that.file
$ scp /somedir/foo.bar theuser@remote.host:that.file
Read 'man scp' for more details.