How to Access your Raspberry Pi via SSH over the Internet (port forwarding)

preview_player
Показать описание
Learn how to port forward so you can access your Raspberry Pi via SSH from anywhere in the world over the internet.

Check out my vlog channel @TonyFlorida

#raspberrypi #ssh #portforwarding
Рекомендации по теме
Комментарии
Автор

One friendly suggestion. Please draw network diagrams and corresponding animations to explain how the ports are forwarded or where the ports are open and where it needs to be forwarded.

prashanthb
Автор

I know in the video, the file hi.txt was new, so :wq is perfectly fine. Tip: Get in the habit of using :x instead of :q or :wq with vi variants. When just reading/viewing a file, using :x will exit without modifying the file's timestamp (useful with backup solutions that use in part, file timestamps for backups). Where as :q will modify the file's timestamp, regardless if the file was edited or not. Also, :x acts the same as :wq for modified files.

Figworm
Автор

man this is really helpful, easy and straightforward

alaaalotaibi
Автор

Not all the tutorials go as smooth as this one, even though I had another internet supplier it still worked fine. Thank you for the help.

jonathanflores
Автор

Thanks, great video really clearly explains the solution in only 8 minutes!!

anthonymclaughlin
Автор

Perfect, this it exactly what I was looking for. Answer to all my questions related to the remote ssh. Thank you kindly!

filipk
Автор

As a newbie, this video helps me Thanks I've subscribed and clicked thumbs Thanks!!!

zookoong
Автор

I rarely like stuff, but this gets one from me. Very good video, helped a lot. Thanks

bennicolai
Автор

Thanks you solved my problem with a simple explanation

garokejelian
Автор

Thank you, i've been searching for a solution forever

koka
Автор

Hi Tony
Thanks for the video about port forwarding.
As i have been struggling to get my raspberry pi to work over the internet with port forwarding.

Thanks for your video.
Peter

STMONDEO
Автор

Hey, thanks for the video.
Is it possible to access multiple local webserver??

MPElectronique
Автор

thank you. I had my ssh server locally, but now that we can leave our houses again I need to be able to access it from

nicofish
Автор

Maybe they blocked port 80 to encourage you to use HTTPS on 443. Did you check if they allow 443?

kychemclass
Автор

This is a long time after u posted ur video but I really hope u see and answer my question.

I don't really know and have my ip momorised at all times so I would like to connect to my ssh hosing my domain name, is that possible? And is there extra setup required or no?

Probler
Автор

This video answered my questions perfectly. I just have one quick question. While researching port forwarding I've seen a lot of people online talking about risks to brute force attacks from outside. I just want to be able to SSH into and communicate over TCP with my raspberry pi while I'm in school. My pi is running Ubuntu Server 20.04.5. If I enable the firewall on my pi, do you think everything would be safe?

Edit: nevermind, I found out I could just set the Ubuntu firewall (ufw) to only accept tcp connections (and ssh) over port 22 coming from specific IPs. i have it set to only accept form my router and my laptop's local (home network) ip address. once i get to school i'll add my computer's local ip from their network. i *think* this will be safe.

iflashlantern
Автор

great job. can you also set up two individual server/raspberry pi in your local network and access them both via port 22 or should each use a dedicated port?

lukasthielen
Автор

what happen if you dont have static ip for your router? most isp wont give static ip for cheap internet subscription

nhs.
Автор

Do you need a static ip address to do any of this ?

ryandickinson
Автор

Great video!
Will running a server on this port allow me to connect to it? Or is SSH different in some fundamental way?
I’ve only used it for remote connecting, so the concept isn’t landing for me

daurham