How to Use SSH on Mac OS X?

To use SSH on Mac OS X, you need to run it from your Terminal.

1. Go to Lunchpad > Others > Terminal

2. In the Terminal window, enter this command:

ssh <username>@<hostname> -p <portnumber>
  • <username> – the username to login. Eg: admin
  • <hostname> – the hostname of the website/server that you want to login. Eg: cypherhackz.net
  • <portnumber> – the server SSH port number. Eg: 22

terminal-ssh-01

3. That’s all you need. Happy SSHing.. ;)

Edit: Some of you might having problem to login using the above command, where your Terminal might shows error, hostname not found.

So to login, enter this command in your Terminal to access using SSH.

ssh hostname.com -p 22 -l username

terminal-ssh-02

Comments

  1. Hiya, I am really glad I have found this info. Nowadays
    bloggers publish only about gossips and net and this is really irritating.
    A good website with interesting content, that’s what I need. Thank you for keeping this web site, I will be visiting it. Do you do newsletters? Can’t find it.

Speak Your Mind

*