<span class="Apple-style-span" style="border-collapse: collapse; "><div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><span>(A/B) it looks like the SSHChannel implementation of getPeer() is faulty.  If I change my two-line implementation of getPeer() inside SSHSessionProcessProtocol to simply &#39;return self.session.getPeer()&#39;, I get:</span></font></font></font></div>
<div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><span><br>  File &quot;/home/ruttbe/dev/python/twisted-8.2.0-inst/lib/python/twisted/conch/ssh/session.py&quot;, line 216, in getPeer<br>
    return self.session.getPeer()<br>  File &quot;/home/ruttbe/dev/python/twisted-8.2.0-inst/lib/python/twisted/conch/ssh/channel.py&quot;, line 261, in getPeer<br>    return(&#39;SSH&#39;, )+self.conn.transport.getPeer()<br>
AttributeError: SSHServerTransport instance has no attribute &#39;getPeer&#39;</span></font></font></font><font><font><span></span></font></font></div><div><font face="Arial" color="#0000ff" size="2"></font><font face="Arial" color="#0000ff" size="2"><span></span></font> </div>
<div><font face="Arial" color="#0000ff" size="2"><span>(C) regarding adding a test, which file do you think would be suitable here?  something in the twisted/test dir?</span></font></div></span><br>