IEX Remsh proxied through another node in a cluster?

I have two Elixir nodes (Node A & Node B) connected over an internal Ethernet connection. Node A also connects to WiFi connections while Node B has no connections outside the internal lan. I can remote shell into Node A and run remote tasks on Node B, but I’d like to be able to connect a remote shell to Node B, using Node A as a “proxy”. Is there a way to do this? Also I’m not currently using remsh directly, but using a remote shell over ssh. Any suggestions?