Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Secure Shell Fundamentals - Learn SSH By Configuring It
Rating: 4.4 out of 5(82 ratings)
655 students

Secure Shell Fundamentals - Learn SSH By Configuring It

Use SSH to securely communicate with your Linux and networking infrastructure.
Created byTed LeRoy
Last updated 3/2022
English

What you'll learn

  • Why you want to use SSH
  • How to set up a lab environment with VirtualBox
  • How to download and install VirtualBox
  • How to create a Linux Virtual Machine with VirtualBox
  • How to use SSH between Linux systems
  • How to use SSH to manage Linux systems from a Windows system
  • How to configure and test key based authentication
  • How to secure SSH by disabling password authentication
  • How to protect SSH with Fail2ban
  • How to configure your ufw firewall to allow SSH but block other traffic
  • How to disable unneeded services on your Linux server
  • Copy files between Linux systems with SCP
  • Copy files betweeen Linux and Windows with SCP

Course content

9 sections35 lectures3h 58m total length
  • Introduction To Secure Shell (ssh) And Remote Access3:03

    Configuring Remote Access - Overview

    One thing you’ll want to understand and be able to set up securely is remote access to your Linux Servers.

    In modern computing, it is quite rare that you will have to, or want to manage a server by a directly connected keyboard and mouse, known as a console connection.

    You’ll want to be able to sit at your desk, or at home, or wherever you choose and manage your server using Secure Shell (SSH).

    There are many pieces involved in setting up SSH, but we’ll break it down, so you’ll be able to handle it like a pro!

    SSH 

    SSH is a network protocol specifically designed to let you securely access servers over a network connection.

    It uses Transmission Control Protocol on port 22 to listen for connections by default.

    Traffic, including your credentials, is kept encrypted, so eaves droppers can’t see or tamper with your data in transit.

    Once you authenticate to an SSH service listening on your server, you’ll be able to manage it using a terminal emulation program from anywhere.

    There are several steps in configuring remote access securely.

    • Ensure openssh server is installed on your server

    • Configure networking on your VirtualBox VM so you can connect

    • Configure your ufw firewall

    • Download a terminal emulator

      • PuTTY for Windows

      • iTerm for MAC OS X

      • OpenSSH Client for Linux

    • Configure Public Key Infrastructure (PKI) encryption

      • Generate your keys

        • PuTTYgen for Windows

        • ssh-keygen for MAC OS X and Linux

      • Copy your public keys to your account on the server

      • Test public key access

    • Disable remote access for the root account

    • Disable password authentication for remote access

    • Consider installing Fail2ban and possibly changing the listening port number

      • Fail2ban will be covered in the Security section

    Wow, that sounds like a lot of stuff!

    It is quite a bit, but it’s broken down for you, step-by-step. 

    You’ll understand SSH and be comfortable installing, configuring, and testing it by the end of this section.

  • Who This Course Is For1:53

    Secure Shell Fundamentals - Who This Course Is For

    This course is for you if you are:

    • A Linux system administrator who wants to learn to use SSH securely

    • A network administrator routinely connecting to network devices from vendors like Cisco or Juniper

    • A Linux user who wants to learn to remotely manage your systems with SSH

    This course is NOT for you if you:

    • Want to learn SSH but also learn Linux (Consider my Best Selling 10 hour course, Ubuntu Linux Fundamentals)

    • Have already taken the Ubuntu Linux Fundamentals course (this material was covered there)

    There is a niche for an SSH course on Udemy and there seem to be people who may already know Linux who want to specifically learn to configure and secure SSH. Those people are the target audience for this course.

    If you find yourself in this course and really want a full blown Linux course, please leverage the no questions asked 30 day full refund and get your money back to invest in a course that fits. Likewise if you're here and you've already taken my Ubuntu Linux Fundamentals course.

    The lessons on Linux fundamentals and text editing can be safely skipped if you're already familiar with Linux.

    To cater to beginners, it's prudent to include those lessons.

    Onward! Enjoy installing and configuring SSH!

  • How To Use This Course2:36

    SSH

    Introduction - How to use this course

    This lesson is very similar across all of my courses, so if you’ve already seen it, this can be safely skipped.

    The course progressively builds on knowledge gained in previous lessons. Unless you know the course topic pretty thoroughly, you’re encouraged to go through the lessons as they’re presented.

    In some courses, I provide background information after the main course so those with an understanding of some fundamentals won’t have to wade through material they already know.

    Where this is the case, it will be clearly stated.

    To help you learn the material, there are:

    Quizzes after each section

    A downloadable .pdf file you can use to follow each lesson

    Assignments to complete

    Mini assignments or tasks within lessons

    Links to further information in the downloadable material and lesson descriptions.

    If anything is unclear to you as you progress through the course, please reach out in the course Question and Answer (Q&A).

    To get to the Q&A section, click on Go to Dashboard in the upper right of the screen while taking a lesson. 

    I’ll respond quickly, usually within hours, but definitely within 24 hours unless I’m without Internet access for some reason.

    Very often, searching for help on Google will get your question answered most quickly. Be pretty specific about what you’re looking for and it’s almost always the case that someone else has experienced the same or has written about how to do or fix it.

    You’re encouraged to do what is being demonstrated while taking the course whenever possible. Just watch how to do something, pause the lesson, do it on your computer, then continue.

    If this isn’t your learning style, you may want to watch the lesson through once, and try doing it along with the download for that lesson. Or, you could watch it through once to take it in, then watch again with pauses while doing what’s presented.

    My speaking tone is pretty clear and measured, which I hope you’ll find helpful in learning a new topic, but I can be a bit slow for some people’s taste. You can increase the speed of presentation if it suits you.

    Enjoy the course and I look forward to hearing from you!

  • Introduction - Ratings1:31

    SSH

    Introduction - Ratings

    A quick word on ratings.

    Although I’m a Udemy Instructor, like you, I’m also a student. I take courses here in a broad range of topics that interest me.

    Also like you, I look closely at ratings and what people have said about a course when deciding whether to spend my valuable time and money on a course.

    You’ll be asked very early in the course to leave a rating by Udemy. Usually within the first 3 to 5 lessons.

    You likely won’t have any idea whether the course is good for you or not by that point in time. Please decline at that time and say you’ll leave a rating later.

    After you’ve taken a sufficient number of lessons to form an opinion, please leave a review when prompted or click on Go To Dashboard in the upper right of a lesson and click on Reviews in the dashboard.

    When leaving a review, please select the number of stars you feel the course deserves, and choose aspects of the course that led you to want to leave that rating.

    It is also helpful if you say what you did or did not like about the course.

    Always feel free to reach out to me in the course Q&A or through Udemy’s messaging system to ask for improvements, additions, or changes that will make this a 5 star course for you. That’s my goal with every course.

    Thank you for your time and patience.

    See you in the next lesson!

  • SSH - Introduction

Requirements

  • Access to a computer
  • Administrator or power user privileges on the computer

Description

Configure Secure Shell (SSH).

Learn how to communicate between Linux and your other operating systems (Windows and MAC OSX) using SSH.

As with all Udemy courses:

  • You have a 30 day, no questions asked, money back guarantee if you're not fully satisfied with the course.

  • You have lifetime full access to the course and all updates and additions.

This course covers the following:

  • Create a free lab with VirtualBox to learn within

  • Prepare your server for SSH use

  • Connect with SSH from Linux or MAC OS X

  • Connect from Windows with PuTTY

  • Configure key based authentication for Linux and MAC OS X

  • Configure key based authentication for Windows

  • Manage your SSH configuration through /etc/ssh/sshd_config

  • Stop bad guys with Fail2ban

  • Enable your firewall (ufw)

  • Disable unneeded services

  • Manage sudo permissions

  • Copy files between Linux systems with SCP

  • Copy files from Windows to Linux with SCP

If you would like a general Linux course instead of a course focused solely on SSH, please consider my Ubuntu Linux Fundamentals Udemy course.

Who this course is for:

  • Linux beginners
  • System Administration beginners
  • Beginning Network Administrators
  • Anyone who wants to create a secure SSH environment