I've had several. They are by far my favorite shrimp Goby but are hands down the most difficult to keep. They are very skittish and require absolutely peaceful tank mates. They're also extremely good at jumping out of tanks. A lid is a most. The first one I had, lasted about two years before it jumped out of the tank and died. Careful selection is critical. They're often in poor shape and skinny. Because they're so skittish, feeding may be difficult. Brine shrimp naupuli and very small eggs and arcticpods seemed to be favorites.
I had the best luck with a tank raised fish (sometimes available but very expensive). He was in much better shape, was less nervous, and ate easily. He became quite bold when I was able to find a female (Yasha's are one of the few gobies you can sex) and they paired up. That lasted for about 3 years until the female was stung by an aipstasia or coral and died. The male went berserk, refused to eat and spent most of the day swimming up and down the corners of the aquarium. That lasted for about a week or two until he jumped out of my (small mesh covered) tank while I was at work.
In total, the longest run was about 4 years. Compared to my Tangaroa goby that lived for close to 14 years and the candy cane shrimp partner that was at least 20.