Which programmer/connector can I use for a 6 pin header on mechanical keyboard design?
A 0.100" square post header is probably the most cheapest and most common. You can get much fancier connectors that also have 6-pins though.