Class s.r.SSHAvatar(avatar.ConchUser):

Part of services.remoteCliServer View Source View In Hierarchy

Implements interfaces: twisted.conch.interfaces.ISession

Undocumented
Method __init__ Undocumented
Method openShell Open a shell and connect it to proto.
Method getPty Get a psuedo-terminal for use by a shell or command.
Method execCommand Execute a command.
Method closed Called when the session is closed.

Inherited from ConchUser:

Method lookupChannel The other side requested a channel of some sort.
Method lookupSubsystem The other side requested a subsystem.
Method gotGlobalRequest A global request was sent from the other side.
def __init__(self, username, service): (source)
Undocumented
def openShell(self, protocol): (source)
Open a shell and connect it to proto.
Parametersprotoa ProcessProtocol instance.
def getPty(self, terminal, windowSize, attrs): (source)
Get a psuedo-terminal for use by a shell or command.

If a psuedo-terminal is not available, or the request otherwise fails, raise an exception.

def execCommand(self, protocol, cmd): (source)
Execute a command.
Parametersprotoa ProcessProtocol instance.
def closed(self): (source)
Called when the session is closed.
API Documentation for OtfBot - the friendly Bot, generated by pydoctor at 2010-01-04 01:40:56.