Ok. Connecting GLI by SSH. And after than ?

How to start mc or other program on SSH console ? They are are special extension like .bat or .exe on Linux files ?
I need a sample. Thats not a joke.