<div>Hello.  I&#39;m moderately experienced with twisted, and am starting out writing an ssh server using conch.  I&#39;m writing a protocol which inherits from the recvline.HistoricRecvLine class. It has connectionMade() and lineReceived() methods so it feels a lot like the twisted.protocols.basic.LineReceiver class I&#39;m used to using.</div>
<div><br></div><div>But, it seems the recvline.HistoricRecvLine class wants me to use self.terminal rather than self.transport to talk to the client.  That&#39;s fine, but it seems that self.terminal lacks a getPeer() method.  How do I find out the IP address of the client inside a conch ssh server?  (For starters, I wish to log all successful client connections so I know who&#39;s connecting).</div>
<div><br></div><div>I searched and found the below issue.  I assume it is related, but could someone confirm?</div><div><br></div><div><a href="http://twistedmatrix.com/trac/ticket/2453">http://twistedmatrix.com/trac/ticket/2453</a></div>
<div><br></div><div>Thanks.</div>-- <br>Benjamin Rutt<br>