Arcane has asked for the wisdom of the Perl Monks concerning the following question:

Is it possible to open a securetelnet connection using the Net::Telnet package. I am running into some issues with sending commands and recieving the results.
any help would be great
thanks

Replies are listed 'Best First'.
Re: Secure Telnet
by marto (Cardinal) on Nov 23, 2005 at 16:15 UTC
      thanks, ill let you know.
Re: Secure Telnet
by Arcane (Initiate) on Nov 23, 2005 at 17:52 UTC
    i have gotten the Net::SSH::Perl package and the dependencies that i needed (crypt::IDEA, math::GMP and string::crc32). When i do an nmake on them, i get this
    C:\Perl\test\Dev\SSH\Math-GMP\Math-GMP>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp lib/Math/GMP.pm blib\lib\Math\GMP.pm AutoSplitting blib\lib\Math\GMP.pm (blib\lib\auto\Math\GMP) C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\ +Perl\lib\ExtUtils\typemap -typemap typemap GMP.xs > GM P.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e mv GMP.xsc GMP.c cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_STRICT -DHAVE_DES_FCRYPT -DBUILT_BY_ACTIVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMP +LICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -D NDEBUG -O1 -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" "-IC:\Perl\li +b\CORE" GMP.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINNT\system32\cmd.exe' : return code ' +0x1' Stop.
    what do I do....
    thanks
      since you are running on Windows, you are very likely running ActiveState perl. If that's the case, then it comes with PPM. Just start that from the command window and follow instructions on installing new modules. If I remember correctly, all you have to do is type 'install New::Module' (without the quotes of course).
        well the module that i want, Net::SSH::Perl is on CPAN, i tried via PPM and it is a no go. I read that you cant add cpan to the repository list in ppm. Is this true??
Re: Secure Telnet
by castaway (Parson) on Nov 24, 2005 at 11:54 UTC
    Net::Telnet itself probably won't, since it's option support is flaky. I haven't tried TLS telnet with Net::Telnet::Options, it may work..

    C.