Check the IP address in the virtual machine: ifconfig
Download ssh-serve, because Ubuntu installs ssh-client by default, but not ssh-server, so we need to install it manually** sudo apt-get install ssh-serve**, If the link still fails after installation, execute the following command:
Turn off the firewall sudo ufw disable , check the status of the firewall ** sudo ufw status, if the status is ** inactive, it is turned off.
Open port 22** sudo ufw allow 22**
Xftp connection failed: Select SFTP and not FTP when connecting
Fourth, see if the ftp service is open in the window
Open the control panel> Programs> enable or disable windows functions> click on internet information servics> check ftp service and ftp service expandability
Recommended Posts