Into To 'ssh' Command In Linux

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

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

  • @RobertElderSoftware
    @RobertElderSoftware  3 ปีที่แล้ว +20

    Hi everyone, I was in a rush to upload this video, and it looks like there may be several frames in the video where I leaked my private key. It should be fine though, I'll just trust you guys to ignore it. However, I will ask that you kindly not share this video with any computer hackers. Otherwise, they might copy down my private key and use it to log into my computer.

    • @greob
      @greob 3 ปีที่แล้ว +2

      I like this kind of bait. Wastes the time of malicious actors. :)

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

    Thanks. Best ssh tut so far i found. Got into linux 7 years ago. But into ssh just a couple of months ago. Lately, i run my whole house from the command line.

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

    You are not the hero we deserve, but the one we need

  • @0xssff
    @0xssff 3 ปีที่แล้ว +3

    Underrated channel, TRULY! ❤❤

  • @no-lifenoah7861
    @no-lifenoah7861 3 ปีที่แล้ว +2

    Very good educational video. Your voice is pleasant and your scripting is great. Time to use my newfound knowledge to bypass school internet restrictions

  • @Madeyalookdomoz
    @Madeyalookdomoz 2 ปีที่แล้ว +3

    Great video!!! You took me to the next level with my smart home. Is there a way to remotely 'click a link' without having to open another page? Can you share an example of how? Is there a command way to close a tab without closing the entire browser? Thanks

    • @RobertElderSoftware
      @RobertElderSoftware  2 ปีที่แล้ว

      Thanks, glad you found the video helpful. When you say you want to 'remotely click a link', it really depends on what you want to accomplish. If your goal is just to manually use the graphical interface from a remote computer, the right way to do this is to use 'x forwarding' with ssh (which I completely forgot to cover in this video). Basically you just add a flag to your ssh command and the 'remote' browser pops up locally like magic and everything works. If you're trying to automate the link open, the right way to do that is to avoid graphical interfaces and use something like curl to send the request on the command line. If you do want to use graphical automation you should search for stuff like 'x server automation tools'.

  • @danydanger
    @danydanger 7 หลายเดือนก่อน +1

    Actually there is another 3rd way via Cert based login

  • @unazheal5409
    @unazheal5409 2 ปีที่แล้ว

    Will there be a part 2 explaining how you actually opened a GUI application on another computer. i cant find anything at all online

    • @RobertElderSoftware
      @RobertElderSoftware  2 ปีที่แล้ว

      Once you have command-line access on another computer, you're free to launch whatever process you want (such as a GUI application like a web browser). Usually, the only additional thing you'll need to launch a graphical application in this case, is to set environment variables that reference the display server that runs on the machine (such as X server). In fact, that's exactly what I did in this demo: I sshed into the other laptop to get command-line access, then I set the environment variables that point to the X server, then I launched a web browser. Note that this isn't really the ideal way to run GUI applications remotely: For this should use X forwarding with ssh, you can use a vnc server.

    • @unazheal5409
      @unazheal5409 2 ปีที่แล้ว

      @@RobertElderSoftware thanks for the response! What's the ideal way to remotely launch an application then lmao? is there something easier lol

  • @sravanchinthoju7827
    @sravanchinthoju7827 2 ปีที่แล้ว

    Hi, Is this only possible only two machines are in local network?

    • @RobertElderSoftware
      @RobertElderSoftware  2 ปีที่แล้ว

      Nope, everything in this video works as long as you can route packets to the IP address of the other computer. If the computer you want to SSH into is inside of a different residential network, it is most likely behind a firewall or a NAT. In this case, it will take a bit more work to get SSH working. There are various approaches to solve this problem such as using a proxy server, or adding firewall/router rules. In this scenario, you also need to be more mindful of security in how you configure access.

  • @kingiburu2778
    @kingiburu2778 3 ปีที่แล้ว

    just a quick noob question. Is the connection through wireless?

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

      Yes, if I recall correctly, I think I did these demos by connecting to the other computer over a wireless connection. Having said that, SSH itself does not make a distinction between wired, wireless, or any other type of connection medium. If fact, SSH isn't likely to even be able to tell the difference.

    • @kingiburu2778
      @kingiburu2778 3 ปีที่แล้ว +2

      @@RobertElderSoftware man that is insanely cool. I cant wait to try this out soon. My skills arent really up there yet but they will be. Thanks for your content. I really appreciate you man.

  • @greob
    @greob 3 ปีที่แล้ว +3

    The title is misleading. I thought this was going to be about setting up Xorg, and doing graphical environment related things through ssh.
    Turns out it's just a basic tutorial about setting up SSH.

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

      My goal is to bring in people who might have no idea what SSH is and don't understand why you would ever want to use it. I figure a title like 'SSH Tutorial Part 1' isn't going to have the same hook as showing how you can influence something everyone is already familiar with. I'll probably leave the title the same, since it does deliver on the promise in the thumbnail.