How to connect to a server SSH with a Mac

You don’t need to install a third-party client like PuTTY if you’re using MacOS® X to connect to your cloud server via Secure Shell (SSH). The Mac Terminal is the macOS operating system’s command line interface (CLI) (OS). You can use Terminal to connect to remote servers via a variety of protocols, including ssh, sftp, ftp, telnet, or a custom protocol.

SSH Operation

SSH defaults to TCP port 22, but this can be changed to a non-standard port. To securely connect the client to the remote server, the SSH process employs symmetric encryption, asymmetric encryption, and hashing.

  1. Locate Terminal by clicking on the ‘Launchpad’ icon on the mac book.
  2. Then open the ‘Other’ folder’.
  3. Now double click on the ‘Terminal Icon’ to launch the terminal.
  4. Type: [code]

    [/code] (example: [code]

    ssh root@


  5. If this is your computer’s first-time Instructions, you may be asked to accept the connection. You can do this by typing:



  6. When prompted, type your server’s password. You will NOT see your cursor moving, or any characters typed (such as ******), when typing your password. This is a standard Terminal security feature.
  7. If you entered the correct password, a shell prompt is returned: [code]
    [root@yourservername ~]#

    [/code]. You should now be logged into your server using SSH.

These instructions are for users who are connecting for the first time to a new Cloud Server. If you’re connecting as a non-root user, replace root with your username in the instructions.

How to change the root password?

After your first login, change the root password by performing the following steps:

  1. At the shell prompt, type the following command:
  2. Change your password by following the prompts below:
    Enter new UNIX password:
    Retype new UNIX password:

    If you enter identical passwords, you will receive the following confirmation that the authentication tokens have been successfully updated:

    Passwd: password updated successfully

    The password does not echo to the screen.

When connecting to your server, use the new password with the root user.

This conlcudes this tutorial for creating a new SSH key to connect your Mac terminal program to a Netooze server via SSH. For best security practices, make sure you keep your password private and don’t share the password unless absolutely necessary.


Welcome to the world of DomainRooster, where roosters (and hens) rule the roost! We're a one-stop shop for all your entrepreneurial needs, bringing together domain names and website hosting, and all the tools you need to bring your ideas to life. With our help, you'll soar to new heights and hatch great success. Think of us as your trusty sidekick, always there to lend a wing and help you navigate the sometimes-complex world of domain names and web hosting. Our team of roosters are experts in their fields and are always on hand to answer any questions and provide guidance. So why wait? Sign up today and join the ranks of the world's greatest entrepreneurs. With DomainRooster, the sky's the limit! And remember, as the saying goes, "Successful people do what unsuccessful people are not willing to do." So don't be afraid to take that leap of faith - DomainRooster is here to help you reach for the stars. Caw on!