session.via is works if you opt to use Net::SSH::Multi instead of Net:SSH directly.
https://github.com/jamis/net-ssh-multi/blob/master/lib/net/ssh/multi/session.rb#L235

but I figured gateway.ssh would have the least impact on anything depending on session