Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Perl Script to Test Telnet Connectivity

by redapplesonly (Sexton)
on Nov 09, 2022 at 18:20 UTC ( [id://11148065] : note . print w/replies, xml ) Need Help??


in reply to Re: Perl Script to Test Telnet Connectivity
in thread Perl Script to Test Telnet Connectivity

This looks great, thank you! I was tempted to use from-scratch socket programming, but didn't know how to start...

Replies are listed 'Best First'.
Re^3: Perl Script to Test Telnet Connectivity
by NERDVANA (Deacon) on Nov 12, 2022 at 00:54 UTC
    I'd like to add that the TCP method is better anyway. SSH doesn't actually talk a telnet-compatible protocol, it just happens to show you something useful when you connect with a standard telnet client. You shouldn't rely on it being compatible with a module that expects an actual telnet server on the other end.