If your console (terminal) is in a state where you don't see what you write because of an aborted ssh session or it is showing unreadable characters after trying to open a binary, this can be solved by typing the command:
$ stty sane
Or
$ reset
Further reading
- Carl Albing, JP Bossen, Cameron Newham. Bash Cookbook