Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copying a file remotely from Ubuntu to Windows 7 [closed]

I am not very familiar with command line Ubuntu (leave alone copying a file remotely) so I apologise if this question is a bit too common.

My setup is a bit unusual so I wasn't able to find much via research online.

I am working on a Win7 machine and I ssh into the Ubuntu (11.10) server via Putty. I tried the following command,

scp textFile.txt user@ipaddress:

The textFile.txt is on the Ubuntu machine and the user is my account on the Win7 machine and ipaddress is the IPv4 address of the Win machine. I even put the -4 option but everytime it keeps saying Connection timed out.

Is there any way for me to copy this file onto my machine?

Both are on the same network.

like image 995
nbz Avatar asked Dec 21 '25 04:12

nbz


2 Answers

I would suggest that you get an application called WinSCP installed on your Windows server. This is free and very easy to use.

It is like an FTP application, using your Linux username and password (along with the SSH port). This way, all future copies between these OS'es will be easy.

I hope this help?

like image 51
TBlaar Avatar answered Dec 22 '25 19:12

TBlaar


You could install samba or FTP to share files.

Using a samba share on the windows machine you could follow this guide

Using FTP you could try this

like image 31
Filip Haglund Avatar answered Dec 22 '25 19:12

Filip Haglund



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!