In the middle of the desert you can say anything you want
ssh -v localhost is a quick way to get the versions of everything.
ssh -v localhost