Skip to content

Commit 1b2ce3f

Browse files
author
CoooooLer
committed
pscp
1 parent 9737386 commit 1b2ce3f

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

Diff for: 14_ssh服务.txt

+14-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,17 @@ ssh(secure shell,安全外壳协议),该协议有2个常用的作用:
2424

2525

2626
SSH服务文件传输
27-
安装客户端:fillzilla软件
27+
安装客户端:fillzilla软件
28+
29+
30+
扩展:通过命令行工具来传输文件/文件夹
31+
工具:PSCP.exe(必须通过cmd命令行打开),为了使用方便可以将其放到环境变量目录中,也可以直接放到C:/windows目录下即可。
32+
33+
用法:
34+
1、 pscp 选项 用户名@linux主机地址:资源路径 windows本地的地址 (下载到win)
35+
案例:pscp -r [email protected]:/root C:/download
36+
37+
2、 pscp 选项 资源路径 用户民@linux主机地址:远程路径 (上传到linux)
38+
案例: pscp -r E:\linux-study [email protected]:/root/test
39+
40+
3、 pscp 选项 -ls 用户名@linux主机地址 (列出远程路径下结构)

Diff for: 随手记.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
关机的几种方式:
1+
关机的几种方式:
22
shutdown -h now (正常关机)
33
halt (关闭内存)
44
init 0

0 commit comments

Comments
 (0)