Before there is putty, xshell, mobaXterm tool can be selected in the windows.
Now with the mac, temporarily not how to find a good software, the direct use ssh good.
ssh -p 22 [email protected]
But you will have to enter a password.
Selecting a pair of public and private keys, public key to put the server.
keygen -t rsa-SSH # -t indicates the type of option, the encryption algorithm used here rsa
ssh-copy-id username@192.xxx.xxx.xxx
Reproduced in: https: //www.cnblogs.com/TreeDream/p/11048093.html