从Ubuntu远程复制文件到Windows 7 [英] Copying a file remotely from Ubuntu to Windows 7
问题描述
我对命令行Ubuntu(不是一个远程复制文件)不是很熟悉,因此如果这个问题太常见了,我深表歉意.
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.
我正在Win7机器上工作,并且通过Putty SSH进入Ubuntu(11.10)服务器.我尝试了以下命令,
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:
textFile.txt
在Ubuntu计算机上,而user
是我在Win7计算机上的帐户,而ipaddress
是Win计算机的IPv4地址.我什至放了-4
选项,但每次它都一直说Connection timed out
.
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.
推荐答案
我建议您在Windows服务器上安装一个名为WinSCP的应用程序.这是免费的,而且非常易于使用.
I would suggest that you get an application called WinSCP installed on your Windows server. This is free and very easy to use.
它就像FTP应用程序,使用您的Linux用户名和密码(以及SSH端口).这样,这些操作系统之间的所有将来副本将变得很容易.
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.
我希望有帮助吗?
这篇关于从Ubuntu远程复制文件到Windows 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!