1、Get ready: m5, 5V power cord, usb to ttl cable,network cable.
MobaXterm (Download link: https://mobaxterm.mobatek.net/download-home-edition.html?spm=wolai.workspace.0.0.6b9c394bQaPoSe)
2、Plug in the internet cable, USB to TTL cable, and power cord to start m5.
Use ifconfig (or ip a) to view the ip.
ifconfig
ip a
3、 click Session.
choose SSH
Enter the IP address found in the Remote host. Check Specify username and enter the username. Prot defaults to 22 and does not need to be modified.
4、If you encounter problems using SSH
(1) First, check if SSH is installed.
ps -e|grep ssh
install SSH
sudo apt update
sudo apt install openssh-server
(2) Perhaps SSH did not start.
/etc/init.d/ssh start