Live support 24x7x365 · Instant activation on most plans Live chat · Open a ticket
News & Insights

How to connect SSH using Terminal in macOS

connect SSH

How to connect SSH using Terminal in macOS

An SSH connection is essential if you want to connect to a remote server via the console, SSH stands for Secure Shell and offers the advantage, that the connection is secure through encryption. Anyone who works with Windows systems knows programs such as Putty or mobaXterm. The newer Windows versions now have an SSH client on board.

How does this look like under the macOS operating system big sur out? Much easier than expected, because macOS is a UNIX-based system that, like Linux, has many configurations on board. For SSH access, the SSH service must always run on the remote server or other network devices. You also need to know the access data and the IP address. The rest is relatively simple.

connect SSH using Terminal

  • First, we need to open the Terminal window.
  • To open Hold CTRL + ALT + T on your keyboard it will open the Terminal window.
  • Alternatively, you can do this through the search option, just type Terminal and hit enter.
  • To connect to the server press the command: ssh user@example.com or ssh user@11.135.777.99
  • Optionally, after executing the command, you are asked to confirm the credibility of the host if everything looks OK, confirm with “ yes ” to connect or “ no ” to cancel.
  • Depending on whether you use an SSH key or password, your user password will be requested in the last step.
  • That’s it! If you have a prompt like this now “ root @ servername: ~ # ” see, you are connected to your server via SSH. When you are finished you can use your active session “ exit ” finish again.

Run it on HomeRDP

Linux VPS

KVM Linux VPS with root access and NVMe storage.

All 7 plans

Linux VPS #1

$4.99 /mo

  • 1 vCPU Highend 2.9+ GHz
  • 1 GB DDR4 Memory
  • 25 GB NVMe/SSD Storage
Order

Linux VPS #4

$36.99 /mo

  • 4 vCPU Highend 2.9+ GHz
  • 8 GB DDR4 Memory
  • 140 GB NVMe/SSD Storage
Order

Linux VPS #7

$299.99 /mo

  • 12 vCPU Highend 2.9+ GHz
  • 64 GB DDR4 Memory
  • 800 GB NVMe/SSD Storage
Order

Keep reading

How to Install Software from the Terminal

Learn how to install software from the Linux terminal using APT, DNF, Pacman, and Zypper. Simple commands, examples, and FAQs for beginners.

· 2 min read

10 Linux Terminal Hacks ; You Must Know

10 Linux terminal hacks that save time every day: rerun the last command with sudo, fix typos with ^, reuse arguments, create folders with mkdir -p and more.

· 10 min read