In short, user provide ssh key to rpc server manager. Once the manager configured, then everytime the user need to type folowing commands to access to the geth rpc server:
ssh -N -L 9545:localhost:8545 geth@machine_A_addr
- ... and set the rpc to
http://localhost:9545
For convenienve, in the following I use these abbreviations:
- machine A: run geth full node with RPC server
- machine B: using the geth RPC from machine A