Re: [Twisted-Python] Conch examples give me host key related errors

2016-10-09 Thread Oon-Ee Ng
Oh and it seems tab completion was being worked on but that's been left waiting for a while now - https://twistedmatrix.com/trac/ticket/6863 Still fantastically useful without though, so no complaints there. On Mon, Oct 10, 2016 at 10:55 AM, Oon-Ee Ng wrote: > A reply from Amber herself! Thanks

Re: [Twisted-Python] Conch examples give me host key related errors

2016-10-09 Thread Oon-Ee Ng
A reply from Amber herself! Thanks for the pointer, I dug into the code a bit and figured these lines would do it (assuming publicKey and privateKey are already defined as strings) f = whatever_is_generating_a_factory(**kwargs) f.publicKeys[b'ssh-rsa'] = keys.Key.fromString(data=publicKey) f.priva

Re: [Twisted-Python] Conch examples give me host key related errors

2016-10-09 Thread Amber "Hawkie" Brown
Hi, This is most likely because of a security change I made a few versions ago, where conch will no longer use a set of default, hard-coded SSH keys. You may want to do something like https://github.com/twisted/twisted/blob/trunk/src/twisted/conch/manhole_tap.py#L149

[Twisted-Python] Conch examples give me host key related errors

2016-10-09 Thread Oon-Ee Ng
My google-fu is failing me (or I'm the only one with a misconfigured ssh system), but none of the examples on http://twistedmatrix.com/documents/current/conch/examples/index.html run for me. The ConchError I'm mostly getting says ('no host keys, failing', None), while the simplesshserver.py exampl