How to Secure a Raspberry Pi on Your Network | ITProTV

How to Secure a Raspberry Pi on Your Network | ITProTV

ITPro

4 года назад

55,424 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@flyingphysics9664
@flyingphysics9664 - 01.08.2023 21:48

When you install and edit the 50unattendedupades file, what is the txt to use if you're on the newer Raspberry Pi OS, versus Rasbian? Awesome video, thank you!

Ответить
@juanwagner
@juanwagner - 28.07.2023 06:36

Thanks! Very useful ! Just for clarification, AllowUsers' users must be separated by spaces, not by commas.

Ответить
@user-yd7zo8gj1d
@user-yd7zo8gj1d - 22.07.2023 23:18

This was an excellent video

Ответить
@joemartin5881
@joemartin5881 - 22.04.2023 17:16

Using my Raspberry Pi to learn Linux and CLI. Being able to SSH from my iPad makes that super easy but security has been a concern. Thanks for the tips.

Ответить
@justin.trading
@justin.trading - 12.04.2023 19:26

Why disable the pi user, why not just change the pi username on creating the image and changing the password too?

Ответить
@DiyintheGhetto
@DiyintheGhetto - 25.02.2023 15:29

What commands do you use to unlock the pi account?

Ответить
@lenkapolaskova2094
@lenkapolaskova2094 - 04.12.2022 19:09

Great tutorial, I am surprised you don't show how to secure connection with a certificate, it would be for another video maybe...

Ответить
@HollyTroll
@HollyTroll - 22.09.2022 19:08

This was a really great video, thank you so much!

Ответить
@dannyreg8405
@dannyreg8405 - 11.09.2022 05:57

Why can't anyone answer my question?

Ответить
@dannyreg8405
@dannyreg8405 - 08.09.2022 03:01

If I lock out my PI account according to your video, how do I reinstall it?

Ответить
@erikyhlen3069
@erikyhlen3069 - 01.08.2022 00:37

Extremely useful, thank you so much

Ответить
@martinhiggs6937
@martinhiggs6937 - 31.07.2022 12:17

I have also enabled 2 factor authentication for SSH

Ответить
@Mark-gk3bl
@Mark-gk3bl - 25.07.2022 23:39

Loved you video, still confuse on firewalls. If I enable UFW and close certain ports does it just close these ports on the pi or does it also close those ports for all my other devices on my network?

Ответить
@billy120745
@billy120745 - 25.07.2022 02:23

Thank you for this! I followed these suggestions and also made my RPI static IP (on RPI and router sides) as I plan to use it for server work.

Learning a lot, liked and subbed

Ответить
@quantumastrologer5599
@quantumastrologer5599 - 20.05.2022 20:50

thanks!

Ответить
@romkaizeris
@romkaizeris - 13.12.2021 02:09

Nicely done! Will definitely follow ;)

Ответить
@maffysdad
@maffysdad - 02.12.2021 04:44

Why is this not in the top watch lists for the RPi? This was a brilliant tutorial to aiding in understanding how to protect the basics of the RPi when it's connected to the internet, such as when being used as a basic home servers. There are lots of videos out there on how to turn the RPi into a server, but they all lack protecting it. I viewed the web page linked to this video and how you write down and explain stuff is really helpful. So through four or five really good videos by various YTers I know now to install the Lite version of Raspberian, I know how to change the username, host name, password and privileges, I know how to lock out the default user, I know how to better protect the ssh side of the connection. Install a firewall and configure it. Install Apache, run a server and update my IP address so my website shouldn't be down any longer than say 15mins... Brilliant tutorial... Thank you so much!

Ответить
@mrjekarpa
@mrjekarpa - 28.11.2021 17:43

What a great video - very useful! 👌👍

Ответить
@adamkempinski5774
@adamkempinski5774 - 14.10.2021 14:06

I'm using my pi 0 only for pi hole. are there any extra ports I should leave open when setting up UFW so it doesn't disrupt pi hole and if, than which ports should I leave open ?

Ответить
@vmdude1
@vmdude1 - 11.10.2021 20:11

I'm new to all this and for the life of me I can't figure out how you get the Terminal window on your PC monitor while running windows??????

Ответить
@markhernandez8840
@markhernandez8840 - 08.09.2021 18:36

Can the unattended auto updates be added to the TwisterOS ?

Ответить
@rmikel14789
@rmikel14789 - 06.09.2021 00:17

Thank you, for the very clear video.

Ответить
@markhernandez8840
@markhernandez8840 - 28.08.2021 06:57

Can you do this on the twister OS ? Sorry first time using raspberry pi or soon to be

Ответить
@Adrien_broner
@Adrien_broner - 21.07.2021 23:19

Funny this is the only video talking about the security risks of using a raspberry pi.

Ответить
@mx310tuda7
@mx310tuda7 - 21.05.2021 19:04

I followed the instructions and reviewed twice and triple before saving any file or issuing a command and I still got locked out after enableing fail2ban.... I had to re-image my sdcard.

Ответить
@BeastBZ
@BeastBZ - 25.04.2021 00:29

Why "-y"? When installing ufw most guides do not add -y what does -y do or mean?

Finally found it. -y states yes to all yes and no prompts. Is this correct? Just want to make sure.

One more noob question, what are you pressing multiple times to make sure the home prompt comes up? Ctrl+c?

Ответить
@unknownunknown7076
@unknownunknown7076 - 22.04.2021 20:56

i cant ssh into my pi "The authenticity of host an't be established.
ECDSA"?

Ответить
@akoyanetworks
@akoyanetworks - 11.04.2021 20:53

Just a minor issue I ran into when updating the sudoers config via 'visudo'. Following the syntax of the example didn't work for me on Raspbian buster. I ended up creating a new file in the '/etc/sudoers.d' directory named '020_newuser-nopasswd'. The contents of the file contained '{username} ALL=(ALL) NOPASSWD:ALL', where {username} reflected my the real new user account name on my system. Afterwards, I could sudo without a password prompt.

Ответить
@davidschulze1009
@davidschulze1009 - 17.03.2021 12:23

When using "sudo systemctl disable servicename.service" the Service is always active after a reboot. "sudo systemctl disable --now servicename.service" works for the Moment, but the Service is back on active after a reboot. What could be the Problem?

Ответить
@rpnpn4512
@rpnpn4512 - 13.03.2021 20:12

what a great tutorial, learned a lot

Ответить
@HugoStiglitz609
@HugoStiglitz609 - 09.02.2021 01:35

Very new to all this, at the seven minute mark when testing to see if the new user has ssh access, how do you know what IP address to enter. I tried entering the one from the “hostname -I”but that didn’t work. It said authenticity couldn’t be established

Ответить
@Username-yv9pc
@Username-yv9pc - 13.01.2021 12:39

how to unlock the pi account if you need it ?

Ответить
@DudeSkinnyTall
@DudeSkinnyTall - 04.01.2021 09:44

Great stuff. Simple security steps people skip all the time

Ответить
@ronaldnieland1932
@ronaldnieland1932 - 01.01.2021 23:54

Very useful, thumbs up

Ответить
@fuba44
@fuba44 - 15.12.2020 22:03

Really really cool video, subbed.

Ответить
@tomb8077
@tomb8077 - 05.12.2020 01:41

very helpful, thank you :)

Ответить
@sirmarkalot9934
@sirmarkalot9934 - 16.10.2020 17:01

Couldn't find them here, so here are the two lines:
"origin=Raspbian,codename=${distro_codename},label=Raspbian";
"origin=Raspberry Pi Foundation,codename=${distro_codename},label=Raspberry Pi Foundation";




Thanks for the video, it is very informative!

Ответить
@MEWOVER9000
@MEWOVER9000 - 21.08.2020 19:13

Wonderful, wonderful video. Thank you guys!

Ответить
@PandemicGameplay
@PandemicGameplay - 04.08.2020 05:16

I disagree reg. public key ssh auth, it is very easy to setup, on mac you can simply do ssh-copy to copy the public key to the authorized keys for the pi. It also makes it pretty much impossible for anyone to brute force your ssh.

Ответить
@jeffreygnanasoundarjohnsel5455
@jeffreygnanasoundarjohnsel5455 - 19.07.2020 22:40

One of best tutorial I have been watched recent times about Raspberry pi. It would be good if you can also explain how to unlock the IP after it blocked for continuous wrong password.

Ответить
@theborne
@theborne - 25.06.2020 23:24

What port does flightaware (Piaware) use? Also, does flightaware need the Pi user account for anything?

Ответить
@karmallama7629
@karmallama7629 - 12.06.2020 20:42

Very helpful video! Set up Ufw and fail2ban exactly how you have it here in the video but cant seem to get fail2ban to ban the ip after several failed attempts. Is there anything that can be done to fix this?

Ответить
@twocentproductionstcp5068
@twocentproductionstcp5068 - 30.05.2020 20:06

THANK YOU! I see SO many Raspberry Pi "setup" videos out there that just fire up the Pi, set the basic settings and then Totally ignore any of this. I would LOVE to see more videos like this!!!

Ответить
@ragavansuresh5035
@ragavansuresh5035 - 25.05.2020 03:02

Extremely useful, thank you for the information!

Ответить
@chindersman
@chindersman - 23.05.2020 21:34

I see that this tutorial is for securing a Raspberry Pi that's running Ubuntu. I've followed the steps you've given and applied them to a Pi running Raspbian, and it worked out great and I appreciate it! What can I do to secure a Pi that's running Arch-based distros such as Manjaro?

Ответить
@fnotlive5322
@fnotlive5322 - 20.05.2020 08:34

didnt put the links you said you were gonna put in the comments

Ответить
@BlahBlah-fe1gv
@BlahBlah-fe1gv - 17.03.2020 02:09

🤬🥰🤬🤬🤬🤬🤬

Ответить
@d4rkrabb1t
@d4rkrabb1t - 12.03.2020 23:33

U should do a video about portforwarding ssh on raspberry pi :)

Ответить
@d4rkrabb1t
@d4rkrabb1t - 12.03.2020 22:18

Thx! Keep up the good work.

Ответить