Thanks much guys. Two questions: If I'm already connected to the remote computer via ssh can I still run the scp or do I have to log off first? and in /path/to/save_filename , what's the purpose of /to/ ?
Quoting Carl Lowenstein <[EMAIL PROTECTED]>: > On Dec 3, 2007 10:20 PM, Chris Louden <[EMAIL PROTECTED]> wrote: > > What I believe you are looking for from a command line is 'scp'. > > Secure Copy is the copy command (cp) and ssh together. Here is an > > example of copying a file from your computer to another. > > > > scp [EMAIL PROTECTED]:/path/to/save_filename > /home/user/localfilename > > > > After you press enter you will be prompted to enter the password for > > the user you specified on the remote computer. Providing the > > credentials are correct the file will be copied correctly. > > You beat me to the draw here, but I think you have the source and > destination reversed in the sample command. > > $ scp /home/usr/localfilename > [EMAIL PROTECTED]:/path/to/save_filename > > Source first, destination second. (like PDP-11 assembler, for old-time's > sake). > > carl > -- > carl lowenstein marine physical lab u.c. san diego > [EMAIL PROTECTED] > > -- > [email protected] > http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie > > -- Xavier Leonard Wirehead Multimedia 964 Fifth Avenue, Suite 235 San Diego, CA 92101 ph:619.232.9573 fx:619.544.0993 http://www.wireheadstudio.com -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
