How to log in to Shell using ssh on Mac OS X
This article was posted in: Web Hosting
Mac OS X is derived from Unix style operating systems, so understandably, logging into an SSH session is quite simple.
Before we continue, though, be sure your cPanel account has already been granted SSH access otherwise we will receive an error later on. If you are not sure, just raise a support ticket and ask us to enable SSH access for your cPanel account.
Open the Terminal application from the Applications/Utilities folder, or press - and search for Terminal using Spotlight.
Once Terminal is open, you simply enter
ssh -p 722 [username]@[homeserver or your domain]
For example, if your cPanel username was krystald and your domain name was krystaldemo.co.uk, then you would type:
ssh -p 722 email@example.com
This runs the ssh program, and tells it to connect using -p 722 (which means Port 722)
If all goes well, you will receive a notification telling you when your last login was, and be presented with the command prompt.
When you have had enough, just type exit and press to end your session.