[Ssh-sftp-perl-users] Problem in NET::SSH::Perl Invalid arguments divll
Brought to you by:
dbrobins
From: Michael C. <mic...@mc...> - 2005-08-15 21:56:03
|
Ok, I am trying to get this module to work. I think that I have installed what was needed. Running on Solaris 2.8 with Perl 5.8.0 compiled 64-bit. I am using RSA keys. I point to the pub key in the identity files param. My test program is (Obviously private info <> out ) #!/usr/local/bin/perl my $host = "<hostname>"; my %args; $args{user} = "<user>"; $args{protocol} = "2,1"; #$args{identity_files} = "$ENV{HOME}/.ssh/authorized_keys"; $args{identity_files} = "$ENV{HOME}/.ssh/id_rsa.pub"; $args{sys_config} = "/etc/ssh/sshd_config"; $args{user_config} = "/etc/ssh/ssh_config"; $args{debug} = "true"; use Net::SSH::Perl; my $ssh = Net::SSH::Perl->new($host, %args); $ssh->login("<user>"); my $cmd ="ls -1 <directory>"; my($stdout, $stderr, $exit) = $ssh->cmd($cmd); I get back <src machine>: Reading configuration data /etc/ssh/ssh_config <src machine>:: Reading configuration data /etc/ssh/sshd_config <src machine>:: Connecting to <remote machine>, port 22. <src machine>:: Remote protocol version 1.99, remote software version OpenSSH_3.4p1 <src machine>:: Net::SSH::Perl Version 1.23, protocol version 2.0. <src machine>:: No compat match: OpenSSH_3.4p1. <src machine>:: Connection established. <src machine>:: Sent key-exchange init (KEXINIT), wait response. <src machine>:: Algorithms, c->s: 3des-cbc hmac-sha1 none <src machine>:: Algorithms, s->c: 3des-cbc hmac-sha1 none PARI: *** Invalid arguments to divll. at /usr/local/lib/perl5/site_perl/5.8.0/Crypt/DH.pm line 29, <GEN0> line 1. Any ideas? Michael Coons Dedicated Tech. Lead Work 303-305-5124 |