Linux - SSH for Remote Administration

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • Find code and diagrams at: www.EliTheComp...
    SSH allows you to remotely administer Linux Servers
    SSH is a Client/ Server System.
    SSH requires Port 22 to be accessible
    Change Network setting in VirtualBox to “Bridged Adapter”
    Install OpenSSH Server on your Linux System
    Use a Client application to connect to the server. MacOS has SSH built into the terminal application. PuTTY is a good SSH app for Windows. there are a number of client apps for Android and iOS.
    sudo systemctl status sshd - Check status of OpenSSH Service on Ubuntu
    sudo service sshd status - Also works to check on OpenSSH Service status
    sudo apt install openssh-server - Install OpenSSH Server on Ubuntu
    ifconfig - Shows you the IP address off your Linux Server
    ssh username@ipaddress - Connect to SSH Server using Terminal in MacOS

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

  • @danny51577
    @danny51577 3 года назад +4

    Eli, thanks very much for not succumbing to some of the criticism concerning teaching the basics. I just started getting into computers in general, and linux, cybersecurity, networking in the last 2 months. Although I have little to no clue as to what is what, I have come across and been watching video after video on your channel and it has provided invaluable explanation and information.

  • @xibakanem2463
    @xibakanem2463 4 года назад +7

    Please make an rsync rman scp and other methods to move or copy great amount of data between servers. You are the best Eli!

  • @vickyjoe
    @vickyjoe 4 года назад

    Thanks Eli, this is my first comment on your videos. Great stuff.

  • @sam477251
    @sam477251 4 года назад +1

    like always sir u make things so easy, thanku for such educational videos!!!!

  • @brandonfarfan1978
    @brandonfarfan1978 2 года назад

    Good lesson. Thanks.👍

  • @monikatamil8325
    @monikatamil8325 4 года назад

    Am 100 percent satisfied by the way u teached sir

  • @zawiasfx
    @zawiasfx 4 года назад +1

    1. there's openssh client/server for windows already, so you can ssh from powershell. still some manager is strongl reccomended (from free ones, mremoteng i guess)
    2. linux server without ssh? with current ansible popularity? doesnt have to be openssh, there are alternatives (dropbear for example, default in openwrt)
    3. and as someone already mentioned in comments, disable pass authentication and rootlogin

  • @palomac7041
    @palomac7041 3 года назад

    thanks for not being a nark and overcomplicating Linux. Youre so fucking cool

  • @hellofriend9167
    @hellofriend9167 4 года назад

    Great video, Eli!

  • @InayetHadi
    @InayetHadi 4 года назад

    You can access your linux box directly from powershell as well

  • @ierosgr
    @ierosgr 4 года назад +2

    If you have time please make a video (thorough one) with a Linux server (preferable Ubunt 18.04) and webmin setting up a samba share and accessing the share from Win clients (it s the third day I am trying this otherwise simple thing and cant do it - well managed to access it but cant write to it and already tried the 777, 755 chmod to the share to make the user member of shamba group ...etc..etc)

    • @ierosgr
      @ierosgr 4 года назад

      @@ruslankuleshov5982 I didnt found any. I am trying by myself. Weird thing is in a Terramaster Nas Box with TOS operating system (debian based) is so easy to do it, Upon creation of the share folder it askes you about permission you choose by user and thats it. You just have afterwards to go to the share folder options and add users , groups or whatever you like. In Ubuntu seems to be a whole different kind of story.
      There is the cli way also but that way you cancel the whole point of having a webmin interface for the easy manipulatation of files and users.

    • @ierosgr
      @ierosgr 4 года назад

      @@ruslankuleshov5982 nope quite the opposite...in Nas everything is working as expected because somehow its configured to ask you the right questions during creation of the shared folder... In work i setup an ubuntu based 18 04 box where every client has win 10 and i cant get them to see or erite to the share

  • @TheGarageboyz
    @TheGarageboyz 2 года назад

    Thanks!

  • @rafaymohiuddin3188
    @rafaymohiuddin3188 4 года назад +1

    Plz go for key based authentication

  • @SurajKumar-bm6fo
    @SurajKumar-bm6fo 4 года назад +1

    you looks like jason statham

  • @mstam853
    @mstam853 3 года назад

    awesome stuff!

  • @phxdnelson
    @phxdnelson 4 года назад

    Thank you again for this video series!
    A couple quick questions.
    In you example I see 'Bob' was able to be logged in twice. If you simply close your terminal window without logging Bob out would that user still be signed in twice (or more)? How is that managed, if not automatically by the OS?
    Also, off topic and maybe another episode idea(?) - can you review the screen details after you login (ruclips.net/video/Pt1vwQiUDn8/видео.html) on a future episode? What I mean is, if you were the sys admin for this server in the real world would you review some of the various data points each time? For example, the root usage is a low percentage so I would ignore. Processes, I am not sure, but I assume this is extremely low since the server was built for this demo lab only. The couple bullet items near the bottom, are those just news items? Finally the package updates, would you normally review those and then update the server more often (per the business change control / MX windows)?

  • @lordsalisbury1
    @lordsalisbury1 4 года назад

    I can't get ssh to work in virtual box, every time I change the networking options from NAT to bridged adapter, the virtual machine crashes immediately it tries to boot. I'm wondering if it's something to do with my machine, that I'm using heroku cli, or I use localhost to write code. The linux error message says it "Failed to open/create the internal network". Does anyone know what might be the problem? Thanks.

  • @palomac7041
    @palomac7041 3 года назад

    this is so cool!!!!!

  • @tenancingogarcia
    @tenancingogarcia 3 года назад

    Hey how can I solve this
    I have a ssh server
    I want to tunnel all my internet data from the server
    I have a ssh client
    I want the client to connect to the internet using the tunnel from the server
    I'm able to connect to the server using ssh server_username@server_ip_addres
    But client doesn't receive any internet from the server tunnel
    Can you help me figure out
    Is this possible

  • @Walidscott
    @Walidscott 4 года назад +1

    Always install SSH, problem solved with private key...

  • @mstam853
    @mstam853 3 года назад

    Hey Eli, does this work when trying to access a Linux server from a different network?

  • @CyReVolt
    @CyReVolt 4 года назад

    I missed Puffy in the preview since OpenSSH comes from OpenBSD. :/ #RUNBSD 👩🏻‍💻

  • @valentin7773
    @valentin7773 4 года назад

    You are great !

  • @mariomatejka
    @mariomatejka 3 года назад

    Can you unistall(remove) the openssh-server while you are connected through ssh?

  • @Neutrino-xw6jl
    @Neutrino-xw6jl 4 года назад +3

    louis sent me here

    • @Y.M...
      @Y.M... 4 года назад

      pls stop

  • @anuprakashsharma5518
    @anuprakashsharma5518 4 года назад +2

    do a video on how to use tcpClient.c and tcpServer.c to send and receive stuff using linux kernel

  • @theBoris819101
    @theBoris819101 4 года назад

    Eli, Please don't let that LR stuff get to you! I must say I'm a fan of both of you, but louis took this stuff way to far. He lost some of my respect after all this BS.
    I've learned so much from your videos and I just thought I needed to show my appreciation and let you know that some of louis's fans just think different. (pun intended)
    Anyway, don't let it bother you and keep those videos coming!

  • @RoborobsComputers
    @RoborobsComputers 4 года назад

    Ssh is built in to windows 10 cmd now

  • @vickyjoe
    @vickyjoe 4 года назад

    Can someone remotely log into a server with root account?

  • @nabilmokhtar5895
    @nabilmokhtar5895 4 года назад

    hi eli i have some problems with xrdp when i use ubentu 18.4 , the service is running and it logged in successfully : But the request time out ,what can i do for that ?

  • @tajammulhussainKhadir
    @tajammulhussainKhadir 4 года назад +1

    Seems like audio is missing...
    Please check

  • @siavashkarami5835
    @siavashkarami5835 4 года назад

    Hi brother, tnx for video, i have a question! how to connect ip outside network?

  • @dinonatorful
    @dinonatorful 4 года назад

    You ok eli? youre not on drugs or anything right