Initial commit of SSH command validation functions

There are some gaps here, but I wanted to get what I had so far out there.