Did I dream it or is there a command line to put into terminal to get information out of graphs 1090 ? Ie message rate
long story but my second site was on a rpi 4 but I need to re purpose that so I’ve changed it to a zero 2. It runs fine but if I remote in to check things it kills the memory and reboots.
I can remote in on ssh easily so was just wondering.
It sounds like the second machine is remote, and not just a second machine on your home network. If that is true, look at a ssh feature called “port tunneling.”
Ssh port tunnelling allows you to make a normal ssh login session like always, but it also sets up a local listening port (on your local machine) that listens for connections. It then routes that traffic to the remote machine. You can use the same port number for both, or different numbers if you like.
As an example, you could have a local port=8542 (or whatever you want to use), which would then be tunneled to the remote system on port=8542 at the remote end.
Then you would ssh in as normal. That would activate the port tunnel as well. Then when you connect in a local browser to http://127.0.0.1:8542 , the connection goes through the ssh tunnel and connects to port=8542 at the other end, which shows graphs1090.
If you’re using something like Windows Putty, check the help on port tunneling. If you’re using ssh manually, you will need to check the documentation on tunnels there.
I use tunnels for several things. I have a remote VPS that only has one single, well protected port which is open. That is for ssh, and it’s not the typical port=22, which slows down some of the attacks. Then I use tunnels for things like remote port=80 for normal http, and a few others for other remote things I need to feed or monitor. That keeps all the others from being exposed, and all their traffic is fully encrypted and traveling inside the secure ssh connection.
With Putty, you can set up several tunnels and then use that as your normal, default ssh login. The tunnels are then available if you need them, and cause no problems at all if you don’t use them.