LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   copying between remote linux to windows (https://www.linuxquestions.org/questions/linux-networking-3/copying-between-remote-linux-to-windows-313586/)

klyshi 04-15-2005 12:20 PM

copying between remote linux to windows
 
Hi,

I have my computer at school but I cannot access from outside the schools network (because of firewall).

However, there is a linux web server running in our school ( where I have account )which can be accessed from outside. I use putty.exe software to login to this linux web server and from there I use rlogin command to access my linux computer.

My problem is that I don’t know how to transfer files from my linux computer to my local windows computer at home.

I know that I can use scp command and it would go like

scp root@myRemoteIp:/myDir whatAboutLocal???

Please help

david_ross 04-15-2005 12:41 PM

If it was me I'd probably create an ssh tunnel to your computer on the school lan - just map port local port 22 to remote port 22 on the ip address of your linux box when you start the connection to the webserver. There is a gui function to do it in putty - the cli command is:
ssh -L 22:ip.of.linux.box:22 -l webserveruser -N ip.of.school.webserver

Then you can use something like winscp on windows - just connect to 127.0.0.1 once you have the tunnel up.

tyler0123 04-16-2005 02:19 AM

can you ssh into the linux box once you connect to the web server. ssh in from the webserver? or you could rsync your data to the webserver then pscp it from there. i apologize if i am wrong.


All times are GMT -5. The time now is 11:04 AM.