Running the example in the debugger, neither ssh_CHANNEL_OPEN() nor ssh_CHANNEL_OPEN_CONFIRMATION() method of twisted.conch.ssh.connection.SSHConnection is called, so self.channelsToRemoteChannel dict is empty when sendClose() is called, thus the error.
I am not sure if I should file a bug as I'm new to Twisted, does anyone see an obvious mistake in my code ? Cheers, Luper _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python