talking with chat(1) like tool to a socket
emorrasg at yahoo.es
Mon Apr 25 19:33:24 UTC 2016
On Mon, 25 Apr 2016 12:09:44 +0200
Matthias Apitz <guru at unixarea.de> wrote:
> In the GOD of modems and PPP I was used to use chat to talk and
> initialize modems based on some send/expect scripts...
> I would like to use the same logic of such script to talk to a remote
> server (IP+port) which understands commands in text and does respond
> with text.
It'll be insecure, chat(1) uses plain text. Perhaps you want someting like telnet over tls or ssh?
> Any idea before hacking the C-code of chat(1)?
Eduardo Morras <emorrasg at yahoo.es>
More information about the freebsd-questions