I help my friend (christine) with computer tasks on her machine (x1-laptop) when she is at home, as follows:
Code:
ssh -p 23022 -i .ssh/christine@x1-laptop.id_ed25519 christine@christine.dyndns.net -L 5900:localhost:5900 "x11vnc -noxdamage -find"
So,
"christine" is her username on
"x1-laptop" which is her machine
"christine@x1-laptop.id_ed25519" is the private ssh key
"christine.dyndns.net" is dynamic dns url at her house
"23022" is the port forwarded to port 22 on x1-laptop on her router firewall
5900 is the standard vnc port
I then VNC to localhost:5900 with Remmina. All good. Works very well.
Now though, she is in a hotel, on their wifi, presumably behind a firewall of some kind.
How can she ssh to my machine from there, such that I can provide assistance with VNC?
assume:
I will temporarily forward port 33022 on my firewall to port 22 on my machine, and enable password only ssh login.
My username on my machine is nedlud.
My dynamic dns is nedlud.dyndns.net
I'm after the cli string that I can email to her, she pastes it into a terminal, and I can then use Remmina in the same way.
MTIA.