Linux Crash Course - Connecting to Linux Servers via SSH

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2024

ความคิดเห็น • 36

  • @eddycabrera6748
    @eddycabrera6748 8 วันที่ผ่านมา

    Love your videos! One little thing that made me chuckle but my wife said you sound like Pleakley from Lilo and Stitch!

  • @stevensines7026
    @stevensines7026 3 หลายเดือนก่อน +2

    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?

  • @ABDULKARIMHOMAIDI
    @ABDULKARIMHOMAIDI 9 หลายเดือนก่อน +1

    THANKS MAN

  • @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!

  • @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?

  • @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.

  • @MichaelFlenderson
    @MichaelFlenderson ปีที่แล้ว

    🙌🏻

  • @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.

  • @daveborchard2019
    @daveborchard2019 8 หลายเดือนก่อน

    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.

  • @paherbst524
    @paherbst524 ปีที่แล้ว

    Where in MI are you?

  • @theparten
    @theparten 8 หลายเดือนก่อน

    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...

    • @zen_nabu
      @zen_nabu หลายเดือนก่อน

      It's probably a youtube video set to full-screen

    • @theparten
      @theparten หลายเดือนก่อน

      @@zen_nabu ohhh i see...

  • @LindaRobinson-e3n
    @LindaRobinson-e3n 4 วันที่ผ่านมา

    Samara Shoal

  • @Darkk6969
    @Darkk6969 ปีที่แล้ว +6

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

  • @themenon
    @themenon ปีที่แล้ว +9

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

  • @UltraZelda64
    @UltraZelda64 19 วันที่ผ่านมา

    I think port 22 is just fine for a computer behind a NAT router with no direct access (open/forwarded ports) to the Internet. If you want to open that system up to the Internet and access it from outside of its own internal network, setting a different port is probably a good idea, but even better yet set up logins through public and private key authentication.

  • @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.

  • @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 11 หลายเดือนก่อน

      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.

  • @TheWaqaspuri
    @TheWaqaspuri 19 วันที่ผ่านมา

    what is sshd and ssh difference?

  • @zer0r00t
    @zer0r00t ปีที่แล้ว +1

    Please do a video on SSH certificates

  • @flyinghorse2739
    @flyinghorse2739 ปีที่แล้ว +6

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

  • @NemoOhd20
    @NemoOhd20 7 หลายเดือนก่อน

    thanks. very good intro

  • @slopsec2358
    @slopsec2358 ปีที่แล้ว

    👍👍👍

  • @muhammadchaerulhafiz4709
    @muhammadchaerulhafiz4709 ปีที่แล้ว

    love it..

  • @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?