RJ25 connections dont like vibrations. You'd need to plug it in then glue it for a semi-reliable connection. Even then, you still couldnt trust it on rough terrain. I'd personally look at the smaller waterproof plugs like the HiGo which is nearly the default for alot of ebike kits (it's quite expensive though).