空间内容仅为个人学习备份所用!
Using PuTTy to copy files from linux server to Windows Desktop
上一篇 /
下一篇 2011-04-14 20:34:46
/ 个人分类:Linux
putty uses scp to transfer files over I believe
If you have already ssh'd into the directory where the file is:
Code:
scp [file to be copied] some_user@my_ip:[destination_folder]
some_user would be your login name and destination folder is pretty obvious
so as an example on my network
Code:
scp file.txt leoniteous@192.168.1.111:/home/leoniteous/Documents
if not
Code:
scp login_name@server_hosting_file:[path_to_file] [destination]
So at home
Code:
scp media_server@192.168.0.199:/media/tv/some_tv.avi /storage
viola. Over the internet is more complicated by the same idea and I would recommend ssh'ing into the dir where the file is as its the least complicated way
Assuming you have logged into the school computer from home
Code:
scp file.txt login@INTERNET_IP -R [port]:local_ip:[port]:[destination]
looks like
Code:
scp file.txt leoniteous@24.75.119.12 -R 22:192.168.1.111:22:/home/leoniteous/Documents
收藏
举报
TAG: