Right problem with 3.0.1, not with 2.1.1

No replies
seb55
User offline. Last seen 16 weeks 16 hours ago. Offline
Joined: 08.10.2009
Posts:

Hi,

 

I am using perl Net:ssh to connect to Copssh on w2008, with a user with administrator rights (and user "act as part of operation system" to be sure).

I run tsm backup software to backup system with VSS service.

Problem is with copssh 3.0.1, vss doesn't work, it failed to create snapshot. But it works fine if i use ssh (openssh 5.0p1 on aix).

I don't have this problem with copssh 2.1.1. I have tried many time to be sure. net:ssh or ssh works fine.

 

I dont know what i can show you.

Here debug from net::ssh perl module (version 1.34)

With Copssh 2.1.1
...
SERV1: Reading configuration data /home/edsexpl/.ssh/config
SERV1: Reading configuration data /etc/ssh_config
SERV1: Connecting to WIN2K3_1, port 22.
SERV1: Remote protocol version 1.99, remote software version OpenSSH_5.2
SERV1: Net::SSH::Perl Version 1.34, protocol version 1.5.
SERV1: No compat match: OpenSSH_5.2.
SERV1: Connection established.
SERV1: Waiting for server public key.
SERV1: Received server public key (1024 bits) and host key (2048 bits).
SERV1: Host 'WIN2K3_1' is known and matches the host key.
SERV1: Encryption type: DES3
SERV1: Sent encrypted session key.
SERV1: Received encryption confirmation.
SERV1: RSA authentication failed: Can't load public key.
SERV1: Doing challenge response authentication.
SERV1: No challenge presented.
SERV1: Trying password authentication.
SERV1: Sending command: c:/tools/backup.bat WIN2K3_1_WWRECSB1_FILE
SERV1: Entering interactive session.

With Copssh 3.0.1
SERV1: Reading configuration data /home/edsexpl/.ssh/config
SERV1: Reading configuration data /etc/ssh_config
SERV1: Connecting to WIN2K3_1, port 22.
SERV1: Remote protocol version 2.0, remote software version OpenSSH_5.3
SERV1: Net::SSH::Perl Version 1.34, protocol version 2.0.
.ERV1: No compat match: OpenSSH_5.3
SERV1: Connection established.
SERV1: Sent key-exchange init (KEXINIT), wait response.
SERV1: Algorithms, c->s: 3des-cbc hmac-sha1 none
SERV1: Algorithms, s->c: 3des-cbc hmac-sha1 none
SERV1: Entering Diffie-Hellman Group 1 key exchange.
SERV1: Sent DH public key, waiting for reply.
SERV1: Received host key, type 'ssh-dss'.
SERV1: Host 'WIN2K3_1' is known and matches the host key.
SERV1: Computing shared secret key.
SERV1: Verifying server signature.
SERV1: Waiting for NEWKEYS message.
SERV1: Send NEWKEYS.
SERV1: Enabling encryption/MAC/compression.
SERV1: Sending request for user-authentication service.
SERV1: Service accepted: ssh-userauth.
SERV1: Trying empty user-authentication request.
SERV1: Authentication methods that can continue: publickey,password,keyboard-interactive.
SERV1: Next method to try is publickey.
SERV1: Next method to try is password.
SERV1: Trying password authentication.
SERV1: Login completed, opening dummy shell channel.
SERV1: channel 0: new [client-session]
SERV1: Requesting channel_open for channel 0.
SERV1: channel 0: open confirm rwindow 0 rmax 32768
SERV1: Got channel open confirmation, requesting shell.
SERV1: Requesting service shell on channel 0.
SERV1: channel 1: new [client-session]
SERV1: Requesting channel_open for channel 1.
SERV1: Entering interactive session.
SERV1: Sending command: ping
SERV1: Sending command: ping
SERV1: Requesting service exec on channel 1.
SERV1: channel 1: open confirm rwindow 0 rmax 32768
SERV1: input_channel_request: rtype exit-status reply 0
SERV1: channel 1: rcvd eof
SERV1: channel 1: output open -> drain
SERV1: channel 1: rcvd close
SERV1: channel 1: input open -> closed
SERV1: channel 1: close_read
SERV1: channel 1: obuf empty
SERV1: channel 1: output drain -> closed
SERV1: channel 1: close_write
SERV1: channel 1: send close
SERV1: channel 1: full closed

Have you a idea ?

Regards.

 

Who's online

There are currently 0 users and 5 guests online.

Site statistics

Registered users2537
Posts1902
Comments4925