Transfer files between windows and ubuntu

1. Windows download filezilla software and install
https://filezilla-project.org/
Insert picture description here
2. SSH service is required to use FileZilla to transfer files, and SSH server is required to use Ubuntu as a server. Use the following command to install:

sudo apt-get install openssh-server

Insert picture description here
3. Change the ssh service configuration under linux
sudo vim /etc/ssh/sshd_config
find and comment out this line with #: PermitRootLogin prohibit-password
Create a new line PermitRootLogin yes

Restart the service
systemctl restart sshd
set the root password sudo passwd root

4. Open filezilla to upload files.
At the top, set the ubuntu Ip
user name to root and the
password to the
port number
you just set to 22 to connect.

Guess you like

Origin blog.csdn.net/Fengfgg/article/details/113591652