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.
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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With