query remote sql via ssh hop