scp - Copying files from server to local computer using ssh -
i having trouble copying files remote server using ssh. using putty log in server using ssh. once find file copy on computer, use command:
scp username@host.com:/dir/of/file.txt \local\dir\
it looks successful, ends creating new folder labeled 'localdir' in remote directory /dir/of/. appreciated thank you.
it depends on local os is.
if local os unix-like, try:
scp username@remotehost:/remote/dir/file.txt /local/dir/ if local os windows ,then should use pscp.exe utility. example, below command download file.txt remote d: disk of local machine.
pscp.exe username@remotehost:/remote/dir/file.txt d:\ it seems local os unix, try former one.
for don't know pscp.exe , don't know is, can go putty official website download it. , open cmd prompt, go pscp.exe directory put it. execute command provided above
Comments
Post a Comment