LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Copying in ssh (https://www.linuxquestions.org/questions/linux-newbie-8/copying-in-ssh-271159/)

albean 12-28-2004 10:14 AM

Copying in ssh
 
If I open up a terminal window on linux machine A and ssh over to linux machine B, is there a way I can copy something that is on A over to B while I’m in that ssh session? I thought about setting up an FTP server on A and then ftping from B back over to A but I really don’t want to do that ...

Thanks for any ideas,
Al

qazzaq 12-28-2004 10:15 AM

securecopy is the app for you.

Check out 'man scp' for usage....

Linux~Powered 12-28-2004 05:17 PM

You could try this...

Code:

scp fileursending user@hostname:/home/you
"user@hostname" will be the user and name of the computer you want to send the file to and the ":/home/you" is the directory where the file will be copied to (or where ever you want).


All times are GMT -5. The time now is 03:33 PM.