windows和ubuntu之间传输文件

1。windows下载filezilla软件并安装
https://filezilla-project.org/
在这里插入图片描述
2. 使用FileZilla传输文件需要SSH服务,Ubuntu作为服务端使用需要安装SSH服务端,使用以下命令安装:

sudo apt-get install openssh-server

在这里插入图片描述
3.更改linux下的ssh服务配置
sudo vim /etc/ssh/sshd_config
找到并用#注释掉这行:PermitRootLogin prohibit-password
新建一行 PermitRootLogin yes

重启服务
systemctl restart sshd
设置root密码 sudo passwd root

4.打开filezilla传文件
在最上端设置 ubuntu Ip
用户名为 root
密码为刚刚设置的
端口号为 22
即可连接

猜你喜欢

转载自blog.csdn.net/Fengfgg/article/details/113591652
今日推荐