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
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.
Please make an rsync rman scp and other methods to move or copy great amount of data between servers. You are the best Eli!
Thanks Eli, this is my first comment on your videos. Great stuff.
like always sir u make things so easy, thanku for such educational videos!!!!
Good lesson. Thanks.👍
Am 100 percent satisfied by the way u teached sir
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
thanks for not being a nark and overcomplicating Linux. Youre so fucking cool
Great video, Eli!
You can access your linux box directly from powershell as well
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)
@@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.
@@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
Thanks!
Plz go for key based authentication
you looks like jason statham
awesome stuff!
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)?
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.
this is so cool!!!!!
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
Always install SSH, problem solved with private key...
Hey Eli, does this work when trying to access a Linux server from a different network?
I missed Puffy in the preview since OpenSSH comes from OpenBSD. :/ #RUNBSD 👩🏻💻
You are great !
Can you unistall(remove) the openssh-server while you are connected through ssh?
louis sent me here
pls stop
do a video on how to use tcpClient.c and tcpServer.c to send and receive stuff using linux kernel
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!
Ssh is built in to windows 10 cmd now
Can someone remotely log into a server with root account?
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 ?
Seems like audio is missing...
Please check
... audio is fine for me...
Hi brother, tnx for video, i have a question! how to connect ip outside network?
You ok eli? youre not on drugs or anything right