Question: how to ssh on mac?
Answer: On the other computer, open the Terminal app (if it's a Mac) or an SSH client.
Type the ssh command, then press Return. The general format of the ssh command is: ssh username@IPAddress. ... 
Enter your password, then press Return.