bash - Telnet - Connect and send message in one line -
i'm looking one-line command connect telnet server (no authentication needed, accept connection) , send text server after connection.
if not possible, possible write script same thing?
sounds can use netcat on telnet port.
an example go so:
echo -n 'some string telnet' | nc <server> 23
Comments
Post a Comment