in reply to Re^9: Dependences to install Net::SSH2 for windows
in thread Dependences to install Net::SSH2 for windows

Hi Rob,
i updated my perl version 5.8.8
i instlled Net::SSH2
ppm install http://members.optusnet.com.au/~sisyphus1/ppms/Net-SSH2.ppd
if iam giving code
use Net::SSH2; my $ssh2 = Net::SSH2->new(); $ssh2->connect('$hostname') or die "Unable to connect Host $@ \n"; $ssh2->auth_password('ann134','$pass') or die "Unable to login $@ \n"; my $chan2 = $ssh2->channel(); $chan2->shell(); print $chan2 "ls -lrt\n"; print "LINE : $_" while <$chan2>; $chan2->close;
iam unable to see any out put