'Permits member access to run commands over SSH
Examples:
>>> s =  ssh(host=\'example.pwnme\',
...         user=\'travis\',
...         password=\'demopass\')
>>> s.echo(\'hello\')
\'hello\'
>>> s.whoami()
\'travis\'
>>> s.echo([\'huh\',\'yay\',\'args\'])
\'huh yay args\''

def __getattr__(self, attr):

    bad_attrs = ['trait_names']
    if ((attr in self.__dict__) or (attr in bad_attrs) or attr.startswith('_')):
        raise AttributeError
    def runner(*args):
        if ((len(args) == 1) and isinstance(args[0], (list, tuple))):
            command = ([attr] + args[0])
        else:
            command = '    '.join(((attr,) + args))
        return self.run(command).recvall().strip()
    return runner
