windows远程上传文件到ubuntu

来源:互联网 发布:锐步椭圆机 知乎 编辑:程序博客网 时间:2024/05/19 03:23

1. 问题描述
windows通过远程端口对ubuntu系统进行访问,想要执行一个文件上传到远程ubuntu系统操作。

第一步:安装pscp工具

首先,下载pscp
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

然后,将pscp所在的目录添加到windows系统变量path中,使得可以从windows Dos 的 cmd 窗口对pscp进行访问

这里写图片描述

第二步:windows给远程ubuntu系统上传文件

首先,在windos下打开Dos cmd窗口

windows + R
cmd

接着,PSCP上传文件到ubuntu系统的基本windows Dos cmd命令

基本命令格式:pscp 文件 用户名@LinuxIP:目录

比如,上传windows桌面的test.txt文件到(内网)远程ip为192.168.1.113,远程ubuntu系统的用户名为ubuntu,目录为/home/

这里写图片描述

用户ubuntu的passward后,上传成功!

参考
http://www.cnblogs.com/shijiaqi1066/p/3843207.html

原创粉丝点击