[Ssh-sftp-perl-users] Problem with Net::SSH::Perl
Brought to you by:
dbrobins
From: Thompson, M. <Mar...@uk...> - 2005-07-28 14:05:08
|
Hi, I'm trying to build in Net::SSH::Perl into my Perl 5.8 installation on a Solaris 8 server, and I've managed to get it to work part of the way. It now seems to stall when trying to use pubkey authentication (which is what I want to use). I have a feeling it's something to do with the Math::BigInt being too slow but I have installed all the Pari libs etc. When my test script reaches the pubkey point it consumes 70% CPU and never comes back. The output I get is: host-not-web01: Reading configuration data //.ssh/config host-not-web01: Reading configuration data /etc/ssh_config host-not-web01: Allocated local port 1023. host-not-web01: Connecting to mercury-prod-1, port 22. host-not-web01: Remote protocol version 2.0, remote software version OpenSSH_3.4p1 host-not-web01: Net::SSH::Perl Version 1.28, protocol version 2.0. host-not-web01: No compat match: OpenSSH_3.4p1. host-not-web01: Connection established. host-not-web01: Sent key-exchange init (KEXINIT), wait response. host-not-web01: Algorithms, c->s: 3des-cbc hmac-sha1 none host-not-web01: Algorithms, s->c: 3des-cbc hmac-sha1 none host-not-web01: Entering Diffie-Hellman Group 1 key exchange. host-not-web01: Sent DH public key, waiting for reply. host-not-web01: Received host key, type 'ssh-dss'. host-not-web01: Host 'mercury-prod-1' is known and matches the host key. host-not-web01: Computing shared secret key. host-not-web01: Verifying server signature. host-not-web01: Waiting for NEWKEYS message. host-not-web01: Enabling incoming encryption/MAC/compression. host-not-web01: Send NEWKEYS, enable outgoing encryption/MAC/compression. host-not-web01: Sending request for user-authentication service. host-not-web01: Service accepted: ssh-userauth. host-not-web01: Trying empty user-authentication request. host-not-web01: Authentication methods that can continue: publickey,password,keyboard-interactive. host-not-web01: Next method to try is publickey. host-not-web01: Trying pubkey authentication with key file '//.ssh/id_dsa' The same script works on the standard 5.005 perl that comes with Solaris 8, and I can use the normal ssh commands fine. Any help will be much appreciated. Thanks, Mark Find out about The Experian Conference 2005 at www.experian.co.uk/conference2005 ========================================================================== Information in this e-mail and any attachments are confidential, and may not be copied or used by anyone other than the addressee, nor disclosed to any third party without our permission. There is no intention to create any legally binding contract or other binding commitment through the use of this electronic communication unless it is issued in accordance with the Experian Limited standard terms and conditions of purchase or other express written agreement between Experian Limited and the recipient Experian Limited (registration number 653331) Registered office: Talbot House, Talbot Street, Nottingham NG80 1TH Although Experian has taken reasonable steps to ensure that this communication and any attachments are free from computer virus, you are advised to take your own steps to ensure that they are actually virus free. |