1. It is a prerequisite to use the command correctly according to the format; 2. Determining the IP of the mac host and opening the ssh service of the mac host are key. All of these can be done by opening "System Preferences" and checking "Remote Login" Then (you will be prompted with "username@ip") to solve it.
I don’t know what Linux hair version is. To check the Linux virtual machine IP command, try
1. It is a prerequisite to use the command correctly according to the format;
2. Determining the IP of the mac host and opening the ssh service of the mac host are key. All of these can be done by opening "System Preferences" and checking "Remote Login" Then (you will be prompted with "username@ip") to solve it.