<<Show us a bit of your code, so we can see why is None there.>>
def command ( self , command ) :
""" process requested command through ssh """
print command
if not self._connected :
return False , "No SSH connection available"
try :
stdin , stdout , stderr =
self._ssh.exec_command( command )
remoteStdOutContent = stdout.readlines()
remoteStdErrContent = stderr.readlines()
if remoteStdErrContent != [] :
return False , '\n'.join(remoteStdErrContent)
return True , '\n'.join(remoteStdOutContent)
except paramiko.SSHException , e :
# provide socket error reason back
return False , str(e)
--
http://mail.python.org/mailman/listinfo/python-list