I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-06-27 01:19:03-07 by hcaley
unable to connect to SuSE 9 host
This simple script works fine with RedHat 4. On SuSE 9 it prompts me for a password.
#!/usr/bin/perl -w $user = 'root'; $pass = 'password'; $host = 'ts2'; $cmd = 'ps aux |grep -v grep |grep das'; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new($host); $ssh->login($user, $pass); my($stdout, $stderr, $exit) = $ssh->cmd($cmd); if ( $stdout ) { print "stdout is $stdout\n"; }; if ( $stderr ) { print "stderror is $stderr\n"; }; if ( $exit ) { print "exit is $exit\n"; };
Direct Responses: Write a response