introduction
Use WinSCP software to connect to Ubuntu, but the request is rejected. Record the solution.
Solution:
1. First turn off the firewall:
sudo ufw disable
2. Install ssh service:
sudo apt-get install openssh-server
3. Check the ip (ens33 inet):
ifconfig
4. Enter the IP address to log in:
Finish!
If you encounter other problems, leave a message to the blogger and we will try our best to solve it.