From the course: Linux for PHP Developers

Unlock the full course today

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

Using SSH on a Mac

Using SSH on a Mac

From the course: Linux for PHP Developers

Start my 1-month free trial

Using SSH on a Mac

- [Instructor] This video is about using SSH on a Mac. If you're using Windows please skip to the next video for the equivalent instructions or stick around to compare the differences. Let's open the Mac utilities folder now by going to Go, Utilities, and then we're going to double click on Terminal. This is the local commands line interface and in many ways it's similar to the one found on Ubuntu. Type SSH and press ENTER. There are a number of arguments and options available, but no worry we'll do this step-by-step. Let's connect to the server now. Type SSH followed by a space then -P for port, which will specify port 2222 after the port comes a space then the remote systems username. I used JPECK then the @ symbol and then the host name to be connected to sandbox.dev. When complete press ENTER. As this is the first time we're connecting we'll be asked if we trust this host. We do so since we set it up ourselves, so type yes and press ENTER. If everything is setup correctly you'll…

Contents