win远程管理之文件上传下载(Putty)
时间:2022-04-08 11:29:08
PuTTy 的功能,而是通过其完整安装包内的 psftp.exe 文件实现的win远程管理之文件上传下载(Putty)
PuTTy 的功能,而是通过其完整安装包内的 psftp.exe 文件实现的。所以,要完成这些操作, Windows 内必须有完整的 PuTTy 安装包而不仅仅是 putty.exe 这一个文件。
接下来就是开启 psftp.exe 了,和 Putty 一样是全字符界面。相对于 shell 繁多的命令,上传和下载使用的命令屈指可数,将用到的命令列在下面:
open ness@113.76.169.228 用于连接远程 linux 服务器,其中 ness@113.76.169.228 替换为您自己的地址。
cd home/ness/ 用于切换远程 Linux 服务器上的目录,其中 home/ness/ 替换为您自己实际的路径。
lcd d:/downloads/ 用于切换本地的路径,其中 d:/downloads/ 就是我自己电脑里的
d:\downloads\ ,总之,切换本地路径的目的是为了上传这个目录里的文件或者将服务器上的文件下载到这个文件夹里,如果你要上传位于 C 盘 Windows 文件夹里的 notepad.exe 到服务器上,就得 lcd C:/windows/。
put test.txt 上传 test.txt 到服务器上。(put -r 目录名/ 可以上传一个目录和其中所有文件到服务器)
get test.txt 下载 test.txt 到自己电脑商。(get -r 目录名/ 可以拿回一个目录和其中所有文件到本地)
使用以后,我发现这么上传下载文件还有一个好处,因为是字符界面,文件在上传和下载过程中占用的系统资源非常少,甚至感觉不到它正在运行。或许真的有和我一样想通过 SSH 进行本地文件上传或者下载的同学吧,还有 SSH 的好处是让文件在传输过程中更加安全。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
win10系统家庭组密码如何查看?windows10系统家庭组密码查看方法图文教程
![](https://img.aspxhome.com/file/2023/28/a244105_0s.jpg)
Windows10安装失败且没有提示其他信息的故障原因及解决方法
![](https://img.aspxhome.com/file/2023/28/a245711_0s.jpg)
Word怎么分栏?
![](https://img.aspxhome.com/file/2023/5/17765_0s.png)
WPS断电不用怕,教你一秒找回丢失数据
![](https://img.aspxhome.com/file/2023/1/a187461_0s.jpg)
最新支持运行Win10 Mobile系统设备型号列表曝光(非官方)
![](https://img.aspxhome.com/file/2023/28/a243972_0s.png)
Excel 2019如何定义多个名称
![](https://img.aspxhome.com/file/2023/8/a140758_0s.jpg)
iOS11.3 beta 1 来了,降频开关到底有没有?
![](https://img.aspxhome.com/file/2023/1/a200251_0s.jpg)
excel怎么取消自动分列
![](https://img.aspxhome.com/file/2023/8/37138_0s.png)
wps页面怎么设置方向
![](https://img.aspxhome.com/file/2023/8/a167928_0s.gif)
如何快速设置WPS文件的背景颜色
![](https://img.aspxhome.com/file/2023/8/a170948_0s.png)
EXCEL如何设置奇偶页打印页码在同一边
![](https://img.aspxhome.com/file/2023/4/37894_0s.jpg)
Win11微软商店下载速度慢怎么办?Win11微软商店下载速度慢的解决方法
![](https://img.aspxhome.com/file/2023/27/a236515_0s.jpg)
Excel表格混合文本怎么统计数据之和?
![](https://img.aspxhome.com/file/2023/1/40011_0s.gif)
Windows8关闭切换程序中运行软件的方法
![](https://img.aspxhome.com/file/2023/29/a255243_0s.jpg)
Excel VBA中的Date类型的匹配问题
Win10系统蓝屏错误DPC怎么解决?Win10蓝屏错误DPC解决方法
![](https://img.aspxhome.com/file/2023/26/a224319_0s.jpg)
wps怎么制作山峰型的时间轴? wps时间轴的制作方法
![](https://img.aspxhome.com/file/2023/5/a165815_0s.jpg )
Excel表格怎样设置引用多个数据
Win10 KB5000802更新后电脑打印机崩溃蓝屏怎么办?
![](https://img.aspxhome.com/file/2023/26/a222531_0s.jpg)