An ad-free and cookie-free website.
Videos can also be accessed from our Full Stack Playlist 1 on YouTube.
The Windows SSH client PuTTY plus Mac ssh and Linux ssh commands (4:39)
Welcome. Today's question: How do you start the SSH client on your computer? Linux, macOS or Windows.
I'm Paul, and we're winding our way towards fun statistical projects here.
In this tutorial, we'll open a window into a server using the secure shell protocol, or SSH. I covered the server-side in the last tutorial. Now the focus is on the client-side, your personal computer.
We'll start with the easiest, Linux, which is similar to the experience on a Mac.
We will conclude with suggestions for Windows users, pointing to the setup of PuTTY software in the next tutorial.
In fact, PuTTY is the program I'm currently using to open a window and communicate with and log in to a local Linux server running text-only Debian version 8 on this sunny day in California.
I should mention that our next project will be to review Linux
commands for beginners. In the meantime,
whatis will help those not familiar
with the command line.
The SSH client on Linux is just that. It's a command like most
others, and here's a one sentence description that comes from the
first line of the user manual for the
(Help on commmands in Linux can be found using the
man command and the page for
ssh is particularly long, at 858
ssh command conveniently shares a
name with the SSH Protocol and you can access syntax help by typing
ssh without options.
Don't be alarmed by how confusing this syntax looks, we're just
interested in the most basic login method.
ssh is more complicated than most
commands and to quantify this, other commands average 15 or so different
ssh has over 40!
I'll cover some of the specifics shortly, but here, we would type
ssh followed by the IP address
192.168.0.15, which is in FactorPad's
local network, which I've already done when I used PuTTY on the front
end on my system.
Now if you have a Mac client on your end, then most of these commands
work the same way, you just need to know where to find
Click on the magnifying glass, or use
Command-Spacebar, then type
Terminal. When I'm on my Mac, I
mirror Linux keystrokes because most work the same way (but review the
man page to make sure!).
Now let's talk about Windows. So with Linux and macOS, the SSH program is native, right? On the Windows side it isn't, and you can read up on and think about the rationale for why Microsoft dragged its feet, but as a workaround third-party programs do exist.
Here is a link to a page on Wikipedia listing and comparing client-side SSH programs.
For the Windows client, the program that seems to get most attention, currently, is called PuTTY, and there are other mentions of tools within Cygwin, Win SCP and KiTTY.
Before we finish, let me recycle a document and I'll show you more here. As we discussed in the last tutorial on setting up SSH on the server side. So here, on the client side, we've accepted the default settings, and used the most basic method to log in, you know, the one with the IP address.
Remember the 40 options I mentioned?
ssh gives you lots of functionality,
especially in a high-security Internet-facing situation, which I
dubbed the hard way, promising to revisit the details in later videos,
because in 4 minutes here we're just scratching the surface.
I will remove server-related topics here and save this so we know what to tackle in later videos. I mainly wanted you to see how complicated SSH can get at the advanced level.
(The point is to keep these notes and return in a later tutorial.)
This is a picture of our stack, which I'll be adding to on this open-ended journey to Data Science, and those fun projects on Statistics I mentioned.
Feel free to join at any time for what interests you.
Have a nice day.
There is a lot to learn about Data Science. Connect to keep it going.
A newly-updated free resource. Connect and refer a friend today.