Question

Tim Wunder tim
Mon May 17 11:30:37 PDT 2004


Richard R. Sivernell wrote:
> List
> 
>   I am connecting to a school server and need to upload project. I
> login ok with ssh. How do I upload in secure mode ftp is rejected.
> 
> cheers
> 

man scp

Logging in via ssh first is not necessary.

To copy from local to remote, from the local machine:
scp <path/to/source/filename> 
<user>@<remoteserver>:<path/to/destination/filename>

To copy from local to remote, from an ssh login on the remote machine:
scp <user>@<localserver>:<path/to/source/filename> 
<path/to/destination/filename>
provided that you have sshd running on the source 
computer/workstation/server

HTH,
Tim







More information about the Linux-users mailing list