From the course: Linux System Engineer: Networking and SSH

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Connecting to SSH from macOS and Linux

Connecting to SSH from macOS and Linux

From the course: Linux System Engineer: Networking and SSH

Start my 1-month free trial

Connecting to SSH from macOS and Linux

- [Instructor] Because macOS and Linux are both Unix-like operating systems, they have terminals and SSH capability built in to them. The way in which we access a Linux host from macOS or Linux is nearly identical so we'll cover them together. On macOS, we'll launch a terminal by going to the search icon and typing in terminal and hitting Enter. I'm going to resize my terminal to full-screen and increase the font. The syntax for logging in is going to be ssh followed by the IP address, which you would get from the ifconfig command on Linux. My IP address is 172.28.29.15 on this machine. Type in your password, and you should be logged in. To log out, you'll just type in exit and hit Enter, and then close the terminal window.

Contents