LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SSH and remote files (https://www.linuxquestions.org/questions/linux-networking-3/ssh-and-remote-files-229195/)

yeti.man 09-11-2004 12:48 AM

SSH and remote files
 
I am connecting to my school computer through ssh and working on programs. Is there an easy way to transfer those files (residing on the school server) back to my home directory?

Thanks!

Yeti.Man

zatriz 09-11-2004 12:57 AM

scp will transfer files over ssh protocol
winscp is very nice for windows
scp works in most all linux distros

HappyTux 09-11-2004 01:02 AM

Re: SSH and remote files
 
Quote:

Originally posted by yeti.man
I am connecting to my school computer through ssh and working on programs. Is there an easy way to transfer those files (residing on the school server) back to my home directory?

Thanks!

Yeti.Man

Use scp (secure copy) to transfer using ssh. Just use something like scp user@host:/path/to/file . or scp user@123.456.789.012:/path/to/file . to copy the file to the current directory. You may also want to check out sftp (secure ftp) it is installed as well with ssh.

yeti.man 09-11-2004 01:08 AM

Fastest answers in the west! Thanks!

FWIW, I just did a sftp user@cs.college.edu

and get prog2.cpp and it now resides in my home directory!

Thanks again!

Da' Yeti.Man (mountain bikes, that is. NOT big feet!)


All times are GMT -5. The time now is 06:26 AM.