From the course: Linux System Engineer: Networking and SSH
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Connecting to SSH from macOS and Linux
From the course: Linux System Engineer: Networking and SSH
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.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.