Enhance your VPS security with Hostinger’s VPS features 👉 bit.ly/3wpHudP 💥 Use the discount code VPS10 to get 10% OFF!
@bastiaanfrerix3 ай бұрын
Shouldn't you remove the # in front of PermitRootLogin?
@HostingerAcademy2 ай бұрын
Yes, if you want to allow root login via SSH, you should remove the `#` in front of `PermitRootLogin` in your SSH configuration file. The `#` symbol denotes a comment, so removing it will enable the setting. However, please note that this is usually not recommended, having the root user open can lead to security issues, since an attacker would already know your user. If you have any more questions or need assistance, feel free to ask!
@bastiaanfrerix2 ай бұрын
@ no what I mean is that you say “permitrootlogin should be set to no”, but you do not mention that the # should be removed after setting this to no. In other words: if you let the # stay in front of the PermitRootLogin, then why does it matter to set it to “no”? @hostingeracademy
@HostingerAcademy2 ай бұрын
Got it! Thank you for the explanation, you’re absolutely correct! In a configuration file, if there’s a # at the beginning of a line (e.g., #PermitRootLogin), it means that line is commented out and not active. Changing the setting to "no" will only work if you remove the # at the beginning of the line. I've forwarded your feedback to our team 😉 By the way - if the PermitRootLogin line is commented out in the file, the default setting depends on the SSH version and distribution. However, in most recent versions of OpenSSH, the default is set to "prohibit-password", which allows root login only with SSH keys, not with passwords. This setting is a middle ground for security, though it’s generally not as restrictive as setting it explicitly to no.
@javabeanz85492 ай бұрын
@@HostingerAcademy My experience is that VPS providers have enabled root login, so you must remove the # if you want to disable it, after editing the line to "no"
@bergbergberg49765 ай бұрын
after changing port, ssh can no longer login. do i need to do any port forwarding?
@HostingerAcademy4 ай бұрын
Hi there! If you’ve changed the SSH port and can no longer log in, it's important to ensure that the new port is properly configured. You may not need port forwarding unless you are behind a specific network setup, but you should check that the firewall allows traffic through the new port.
@EWVillaMedicaBangladesh6 ай бұрын
where is command line, that shown in this tutorial?
@HostingerAcademy6 ай бұрын
You can find it by opening your computer's terminal/CMD, and logging in to your VPS using SSH conenction😊
@rabiibrahimi5 ай бұрын
should we apply this even if we get a vps with a template ?
@HostingerAcademy5 ай бұрын
Hey there! Depending on your VPS template and OS you might need to take different or additional steps to secure your VPS. However, templates can provide a good starting point, but securing your VPS with additional steps ensures better protection against potential vulnerabilities.
@rabiibrahimi5 ай бұрын
@@HostingerAcademy VPS template is almalinux with plesk. It would be nice to share how to secure your vps while using a template to avoid any issues with the server for those who don't have solid server knowledge.
@ElBon-family6 күн бұрын
his shirt is look good. where to buy that ? :)
@parmakharbmotivation54428 ай бұрын
Bad hosting, because server connectivity problem continue in search console
@HostingerAcademy8 ай бұрын
Hey there, We're really sorry to hear about the issues you're facing. We want to make sure you have the best hosting experience possible. To help us resolve this quickly, could you please provide more details about the problem via our help form at hstn.gr/HelpForm? Thank you for your cooperation! 🙏
@markjakker16 күн бұрын
They are putting backdoors in at the manufacturers level. As far as open source, they are attacking projects upstream. They are visiting developers and blackmailing them to put in backdoors or exploit code like buffer overflows and such. The end result is multiple industries and the entire planet is continually hunting down new bugs despite new and capable tech or methods surface to combat things like the buffer overflow. The only way to escape vulns is to either make all your own software, or install from source code and audit source code for each and every product update. it is litterally that bad. The system is falling apart. My only gripe is that the damage is not visual.
@HostingerAcademy15 күн бұрын
Thank you for sharing your perspective! I understand that security challenges, from backdoors to vulnerabilities, are a big concern. Our video highlights steps to maximize VPS security, but if you have specific concerns or tips, I’d love to hear more 😊
@stevereid636Ай бұрын
Important details missing from this tutorial making it impossible without getting something wrong 👎