Remotely connect to VPS server on Mac under Linux

Compared with the Windows system, the Mac remote connection to the VPS server uses Xshell to remotely connect to the VPS server under the Windows system . On the Mac OS system, you can directly use the terminal to achieve it, without the need for third-party software, and the ssh port is not the default 22. You can also log in directly .


Open the Terminal directly, enter : ssh [email protected] , then enter your password to log in (there will be no display on the screen when entering the password)


If your ssh port is not the default 22, then use the -p parameter to connect your ssh port, for example, the ssh port of your VPS is 1234, then the command is :ssh [email protected] -p 1234


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325871503&siteId=291194637