Linux Crash Course - Connecting to Linux Servers via SSH

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • With the Linux Crash Course series, we'll go over one important Linux-related topic - one video at a time. This time around, here's a video for those of you that are brand-new to Linux that will cover how to connect to a Linux server via the OpenSSH client.
    LEARN LINUX TV - YOUR HOME FOR LINUX-RELATED FUN AND LEARNING!
    🎓 CROWDSTRIKE CRASH SURVIVOR T-SHIRT
    Commemorate the largest outage in history with the latest addition to the LLTV merch shop.
    Get yours here ➜ learnlinux.link/crash-shirt
    🎓 BRAND NEW UDEMY COURSES AVAILABLE!
    Check out my new courses on Udemy and learn something new!
    • Getting Started with Ansible ➜ learnlinux.link/ansible
    • LPI Linux Essentials Complete Workshop ➜ learnlinux.link/linux-essentials
    🐧 SUPPORT LINUX LEARNING!
    • Grab some Linux swag ➜ merch.learnlinux.tv
    • Become a Channel Member ➜ learnlinux.link/member
    • Become a Patron ➜ learnlinux.link/patron
    • 5% discount on LPI exam vouchers ➜ learnlinux.link/lpi-voucher
    • Check out my latest book ➜ ubuntuserverbook.com
    • Grab an awesome Pi-powered KVM ➜ learnlinux.link/tinypilot
    • Jay's Gear - Server, Computer and Video Production Stuff ➜ learnlinux.link/amazon
    Note: Royalties and/or commission is earned from each of the above links
    ⏰ TIME CODES
    00:00 - Intro
    01:34 - Linode's Cloud Computing platform is a great way to spin up a Linux server! (Sponsor) ➜ learnlinux.link/akamai
    03:17 - Some basic information regarding SSH
    06:05 - Connecting to a server via SSH
    09:25 - Connecting to a server via SSH with an alternate port
    13:12 - A few extra tips
    Recommended stand-alone videos from Learn Linux TV
    • How to create a bootable flash drive for installing Linux ➜ linux.video/flash-usb
    • Installing an operating system for Raspberry Pi ➜ linux.video/pi-imager
    • How to connect to a Linux server via ssh ➜ Coming soon!
    • Understanding Linux permissions ➜ linux.video/perms
    • Essential tweaks for ALL Linux Servers ➜ linux.video/all-servers
    Full Courses from Learn Linux TV
    • Linux Crash Course series ➜ linux.video/cc
    • Learn how to exit use tmux ➜ linux.video/tmux
    • Learn how to use vim ➜ linux.video/vim
    • Bash Scripting Series ➜ linux.video/bash
    • Proxmox VE Cluster Full Course ➜ linux.video/pve
    • Learn Ansible ➜ linux.video/ansible
    🌐 LEARN LINUX TV ON THE WEB
    • Main site ➜ www.learnlinux.tv
    • Community ➜ community.learnlinux.tv
    • Official Github Account ➜ github.com/LearnLinuxTV
    • Enterprise Linux Security Podcast ➜ enterpriselinuxsecurity.show
    • The Homelab Show Podcast ➜ thehomelab.show
    • Jay on Udemy ➜ www.udemy.com/user/jay-lacroix-3
    • Jay on Twitter ➜ x.com/JayTheLinuxGuy
    • Content Ethics ➜ www.learnlinux.tv/content-ethics
    • Request Assistance ➜ www.learnlinux.tv/request-ass...
    ⚠️ DISCLAIMER
    LearnLinuxTV produces technical content that will hopefully be helpful to you and teach you something new. However, this content is provided without any warranty (expressed or implied). LearnLinuxTV is not responsible for any damages that may arise from any use of the content and information that's being provided. The viewer is expected to follow best judgement and to make his/her/their best decisions while working with production or non-production software, systems and hardware.
    #Linux #LinuxTutorial #linuxserver
  • НаукаНаука

Комментарии • 30

  • @themenon
    @themenon Год назад +9

    Love the new intro! Great to see the progression of the channel over the years :)

  • @flyinghorse2739
    @flyinghorse2739 Год назад +6

    This has become my go-to channel for all things Linux

  • @Darkk6969
    @Darkk6969 Год назад +4

    In addition of changing the port you can also make use of port knocking to keep it hidden from port scans.

  • @Handelsbilanzdefizit
    @Handelsbilanzdefizit Год назад +14

    An episode about LVM (Logical Volume Manager) would be cool.
    And how can it be used to snapshot disks or even backup them.

  • @lsdowdle
    @lsdowdle Год назад +2

    Microsoft Windows 10 and newer have been shipping with the OpenSSH client pre-installed for some time now... 3-5 years. They also off the OpenSSH server but that is not installed by default and if desired, you can manually install that by Adding Windows Components from the Control Panel.

  • @narayanaswamygowda2486
    @narayanaswamygowda2486 Год назад

    love the video. i had one doubt. i had created one azure linux vm using terraform on top of that i am installing packages using ansible by remote exec inside terraform script now i am not able connect to remote server through hostname and my terraform and ansible is running in docker container . is there any way to connect to remote server with hostname for establishing a ssh connection.. Thanks in advane any video tutorial or blog is appreciated.

  • @ABDULKARIMHOMAIDI
    @ABDULKARIMHOMAIDI 7 месяцев назад +1

    THANKS MAN

  • @NemoOhd20
    @NemoOhd20 5 месяцев назад

    thanks. very good intro

  • @theparten
    @theparten 6 месяцев назад

    Hi can you tell me how i can get that moving text background on one of your machines please. I really love to put it on my machine too...

  • @MatthewKressel
    @MatthewKressel Год назад +15

    You may also want to teach about the authorized_keys file as well as the ssh-copy-id command, because many server systems do not allow password logins. Some are key only, and a lot of first time users get tripped up with ssh keys. Also, disabling root logins in sshd config, and changing the listen port might be helpful too.

    • @javabeanz8549
      @javabeanz8549 Год назад +1

      Jay already did that in his first steps with a new Linux server video

    • @MatthewKressel
      @MatthewKressel Год назад

      @@javabeanz8549 Which didn't exist when I wrote the above comment.

    • @javabeanz8549
      @javabeanz8549 Год назад

      @@MatthewKressel You must have watched this video the moment it came out then, they weren't very far apart in my notifications.

    • @RayChavez
      @RayChavez 9 месяцев назад

      If you REEEEEALLY wanna kick it up a notch, implement the tool “keychain” as well.
      You only have to enter your passphrase per reboot; instead of per login shell.

  • @poorlybuffalo555
    @poorlybuffalo555 Год назад

    You mentioned your Linode server is in Canada whilst you are in the US - any issues there for businesses with data sovereignty requirements to remain compliant with data protection like GDPR et al?

  • @muhammadchaerulhafiz4709
    @muhammadchaerulhafiz4709 Год назад

    love it..

  • @daveborchard2019
    @daveborchard2019 6 месяцев назад

    I installed Ubuntu 22.04.3 LTS Desktop on one of my computers. When I tried to connect with ssh, I get the connection refused. So, the base installation of the ssh server software must not have been installed with Ubuntu 22.04.3 LTS Desktop, unless something on my local area network is blocking the port 22 needed for ssh to work.
    Could a hacker keep trying different usernames and passwords in rapid succession forever to try to break into the ssh connection? Or, is there a limit of failed attempts that would cause them to have to wait a period of time to retry accessing the ssh connection? I think if you simply changed the ssh port, the hacker could try to ssh into every possible port, until they get a response. Then they would know which port you switched ssh to use.

  • @aaronb483
    @aaronb483 Год назад

    When I set up my MythTV box, I could not use SSH at all. I assumed that the SSH server was automatically built in to any and all distros.
    I still never got GUI SSH Working.

  • @zer0r00t
    @zer0r00t Год назад +1

    Please do a video on SSH certificates

  • @jacksonsystemslimited
    @jacksonsystemslimited Год назад

    Once you create your key on the local machine, if you want to move that key what is the best way? Keep it in sync with Syncthing across multiple machines?

    • @teensuicide9103
      @teensuicide9103 Год назад

      To dozens of managed machines or to a couple of devices? Because if that's the case you can just use a USB stick, eh?

    • @jacksonsystemslimited
      @jacksonsystemslimited Год назад

      @@teensuicide9103 well let’s say a PC dies - do you save the key somewhere maybe in an encrypted drive and copy the key to home dir … or generate a new key?

    • @teensuicide9103
      @teensuicide9103 Год назад +1

      @@jacksonsystemslimited sure, it's a good idea to keeo them backed up, possibly on its own drive and definitely encrypted

    • @jacksonsystemslimited
      @jacksonsystemslimited Год назад

      @@teensuicide9103 ok cool, so after a reload if an IS you can just copy your key back to the .ssh directory and your golden?

  • @peterjansen4826
    @peterjansen4826 Год назад +3

    scp should be in every ssh tutorial, often you just want to do that, copy files. Though scp is easy but cumbersome (lot of typing which could definitely be solved by the developer) to use it can be a bad experience to look up how to use it, I only found bad explanations both with written articles and a YT-video. The short version: it is like cp but now you enter the system-information (user@IP) before the : and the path after the :

    • @jojobobbubble5688
      @jojobobbubble5688 Год назад

      Literally had this issue not even a week ago. Valheim server in Linode and needed to backup world files. Accidentally figured out what I was doing wrong. I was already remoted into the server from my home computer and THEN ran SCP... It failed successfully... AKA I copied from the Valheim server to the Valheim server......!noice
      Exited the SSH session, ran the command again and it worked just fine. Noice!

  • @MichaelFlenderson
    @MichaelFlenderson 10 месяцев назад

    🙌🏻

  • @paherbst524
    @paherbst524 Год назад

    Where in MI are you?

  • @slopsec2358
    @slopsec2358 Год назад

    👍👍👍

  • @stevensines7026
    @stevensines7026 Месяц назад

    Is there ANYONE who is Not using a paid service setting up a Linux Mint server who is just showing how to do it in English from the beginning with n00b details explained?