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

def __getitem__(self, attr):

    return self.__getattr__(attr)()
