How to Connect VPS on Mac?
Compared with using Xshell on Windows to connect to remote Linux VPS servers, you can directly use Terminal on Mac OS system to achieve this without the help of third-party software, and you can directly log in on ssh port other than the default 22.
Steps
- Open Terminal directly
- Enter: ssh root@public IP
- Then enter your password and you can log in (There will be no display on the screen when you enter your password)
Note
If your ssh port is not the default 22, then use the "-p parameter" to connect to your ssh port.
For example, your VPS ssh port is 1234, then the command is: ssh root@public IP -p 1234