Step 1
Open Terminal. Go to Finder, open the Applications folder then Utilities folder, double click Terminal to open. You can drag this icon to your dock for easy access.
Step 2
Enter SSH command. The basic syntax of connecting to SSH is as follows:
ssh user@IP-Address
You may also specify SSH port as the following:ssh -p 1234 user@IP-Address
Ending the SSH Connection
Type exit to end the connection