A
A
AlizonJohn2017-07-18 16:13:50
linux
AlizonJohn, 2017-07-18 16:13:50

What is the difference between SSH and reverse SSH and how to use them in a home router?

Good day, gentlemen!
At home there is a router stitched on OpenWRT. Works via 3G, it is not possible to connect a white IP address. I want to monitor the status of the router and connected clients remotely.
I bought a VPS on ubuntu. And then the questions arose:
1. How is SSH different from reverse SSH for my case? Which one do I need to use?
2. How can I configure the router to automatically start ssh and check its status, and restart ssh if necessary? (As I think: just connect to the router via ssh at home, upload the public key to it and write the command to start ssh in autorun)
3. Let's say everything worked out, the router is constantly connected via ssh to the server. How can I get to the router now by connecting to this server?
4. Are there any sites where they can teach this for money? Just a bunch of questions have accumulated and personally communicate with a person who has experience in such work! Or maybe someone here wants to earn 1500 rubles / hour for such training? Send me a PM if you'd like!
Thanks in advance for your replies!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2017-07-18
@LiS-31

SSH is an encrypted tunnel from the client to the server, used to connect to remote servers for their administration (usually via the console).
Reverse SSH is typically used to access from the server to the client. For example, if it is not possible to directly access the home router (dynamic IP, gray IP). In this case, the router establishes an SSH connection with a server that has a clean-static IP, and a port is forwarded on the server. Thus, when connecting to a specific server port, all traffic is sent to the router and it becomes possible to access it.

D
Diman89, 2017-07-19
@Diman89

vpn will help you too

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question