[ale] telnet test
Christopher Fowler
cfowler at outpostsentinel.com
Thu Apr 20 17:35:13 EDT 2006
perl -MIO::Socket -e '$s = new IO::Socket::INET(PeerAddr=>"127.0.0.1",
PeerPort=> 23, Proto =>"tcp") or die "$!\n";'
On Thu, 2006-04-20 at 16:50 -0400, Jim Popovitch wrote:
> James P. Kinney III wrote:
> > On Thu, 2006-04-20 at 16:25 -0400, Jim Popovitch wrote:
> >> Hi all,
> >>
> >> Whats a good way to test (from within a shell script) for telnet
> >> availability on a remote host? Would something like netcat be able to
> >> do this?
> >>
> > nmap -sT <remotehost> -p 21
>
> Thanks Jim, but unfortunately namp isn't readily/easily available on the
> host platforms I am targeting. I am trying to create a modestly
> portable script. Thanks though.
>
> -Jim P.
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list