My Linux laptop is on Verizon HomeFusion internet service and I am trying to configure so that I can SSH to a remote Raspberry Pi (through its router) that is using the Virgin mobile service.
Seems my meager understanding of SSH and ports is inadequate.
I have set up a reserved local IP on the Pi router and have forwarded a port to it (PiPort).
Verizon blocks the normal SSH port, 22, so I understand that I need to use a different SSH port (by editing
sshd.conf). These are my questions:
1) Does the SSH port on the local end (my laptop) need to be the same SSH port on the remote end (Pi) ?
2) Does the SSH port on the remote end (Pi) need to be the same port that is forwarded to the Pi local IP (i.e. remote SSH port = remote forwarded port)?
3) Do I use the
ssh -L local port:remote computer:remote port user@remote ip?