Yes, and you could also buy a male-to-male mini-DIN 6 cable to eliminate an adapter.
But be careful, some "PS/2" cables are made for mice and lack enough wires inside, even though it looks like they have the right pins from the outside. That is what I do with Northgates because I loathe coiled cables.