Subject: | Problem while connecting to Netware Server using ssh. |
Perl Version v5.8.1 built for i586-linux-thread-multi
tried connecting to the netware Server using
perl script and ssh module which you have given at
http://search.cpan.org/~drolsky/Net-SSH-Perl-1.24/lib/Net/SSH/Perl.pm.
but my system hangs at
Entering interactive session.
line and does not go forward even if the command i
mentioned in the script finished after successfully
executing on Netware Server. Could you please let me
know what could be the problem here running this
command.
# ======================================================================
#
# Perl Source File -- Created with SAPIEN Technologies PrimalSCRIPT(TM)
#
# NAME: <filename>
#
# AUTHOR: asharma , novell
# DATE : 1/16/2004
#
# PURPOSE: <comment>
#
# ======================================================================
use Net::SSH::Perl;
use Net::SSH::Perl::Cipher;
#my $ssh = Net::SSH::Perl->new("164.99.151.121", interactive => "true", cipher => "DES", debug => 1);
my $ssh = Net::SSH::Perl->new("164.99.151.121", cipher => "DES", interactive => "true", debug => 1);
$ssh->login("admin", "test");
($out, $err, $exit)= $ssh->cmd("m ping.nlm");
print "\n";
print "$exit\n";
print "\n";