On my previous boat I used SeaDog connectors but was disappointed because they were expensive and they didn't last nearly as long as I expected. I replaced them with the connectors Ned shows above. They are automotive connectors, available in 2,3 or 4 conductors, very inexpensive and with a bit of dielectric grease they last almost forever. They are designed for a fairly corrosive environment like trailer light wires on salted winter roads. I used them just for lights, not instruments or anything else. One advantage they have over other connectors is the wires are molded right into the plastic with no way for water to get in. You don't need to solder wires to the connecter pins, just splice the wires using a good marine grade shrink wrap.