with paramiko and have no problem with that, but i want to simulate some quirks of a bunch of devices for testing and need some kind of interactive shell/pty/terminalemulator (vt100) for it that just has some commands/actions or so which just reply with a predefined output or do basically nothing...
how would i make such a shell/pty/terminal?
you have a SSH server without a shell ?
related to that question... i now try prompt_toolkit and allready kinda got it to work... the output is connected to the paramiko channelfile (channel.makefile('rw')) Prompt(input=create_input(channelfile), output=create_output(channelfile)) basically... but the input is still connected to stdin...
Обсуждают сегодня