I opened putty and connected to the server with my login ID and password. And trying to copy a file which is present there to my local windows system.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
It worked using PSCP. Instructions:
- Download PSCP.EXE from Putty download page
- Open command prompt and type
set PATH=<path to the pscp.exe file>
- In command prompt point to the location of the pscp.exe using cd command
- Type
pscp
use the following command to copy file form remote server to the local system
pscp [options] [user@]host:source target
So to copy the file /etc/hosts
from the server example.com
as user fred
to the file c:\temp\example-hosts.txt
, you would type:
pscp fred@example.com:/etc/hosts c:\temp\example-hosts.txt
回答2:
One of the putty tools is pscp.exe; it will allow you to copy files from your remote host.