ubuntu-windows 远程相互传文件

在Windows端安装相关软件。我们以使用WinSCP或者FileZilla 工具

WinSCP的地址:https://winscp.net/eng/index.php

FileZilla的地址:https://filezilla-project.org/

在Ubuntu端,安装openssh-server.

sudo apt-get install openssh-server

ubuntu-windows 远程相互传文件_第1张图片

 查看状态:

service /etc/init.d/ssh status

ubuntu-windows 远程相互传文件_第2张图片

 如果显示绿色小点,代表服务开着,否则,为白色,如下:

ubuntu-windows 远程相互传文件_第3张图片

以上为打开、关闭 、查看ssh服务的方法:

ubuntu-windows 远程相互传文件_第4张图片

 以WinSCR为例,如果ubuntu端不安装openssh-server的话,会报以下错误。

ubuntu-windows 远程相互传文件_第5张图片

ubuntu-windows 远程相互传文件_第6张图片

ubuntu-windows 远程相互传文件_第7张图片

FileZilla类似,如下:

ubuntu-windows 远程相互传文件_第8张图片

 这样就可以互相拖拽文件。

ubuntu下利用命令

ifconfig

查看ip地址。

windows下利用命令

ipconfig

查看ip地址。

 

 

你可能感兴趣的:(linux)