Ways to log in to a remote Linux server using SSH in Mac OS x
Open a terminal in your Mac
See if it's root,
If it is not, enter
Sudo-i
Enter the root login password
And then enter
SSH [email protected]
example.com is the domain name or IP of the Linux server
If this is the first connection, the following things will appear:
The authenticity of host ' example.com (xxx.xxx.xxx.xxx) ' can ' t be established.
RSA key fingerprint is A9: .......
Is you sure want to continue connecting (yes/no) _
You can just enter Yes.
Next enter the password for the Linux server
Enter
It's connected to a remote Linux server!
What to do next.
It's done, I'm going to disconnect the SSH link,
What do we do?
1, directly close the terminal (as if too violent)
2. Enter in the CLI: Exit
Disconnected SSH Link:)
Log in to a remote Linux server using Mac OS X terminal SSH