You’re looking for what’s called a “pigtail”. Ps/2 seems to be another name for 6-pin “mini-din”, which is a standardized connector format.
Here’s an example.
https://www.amazon.com/AIMLYF-CONNECTOR-PROGRAMMING-BREAKOUT-CABLE/dp/B0D9BD64QR/
You can try searching anywhere that would carry that kind of equipment like mouser.com or digikey.com.