SSH problem

Jim Herrick jim at bleedpurple.com
Thu May 13 15:01:55 UTC 2004


Nitin,

Could it be an expected character in your script?  You might want to include this part (or all) of it.

Does the SSH session launch successfully when run interactively (using the same user and password)?

Good luck,

Jim

  ----- Original Message ----- 
  From: Nitin 
  To: redhat-list at redhat.com 
  Sent: Thursday, 13 May, 2004 16:56
  Subject: Fw: SSH problem


  Apologies for re-submission, but if anybody can help me out of this ????????

  ----- Original Message ----- 
  From: Nitin 
  To: redhat-list at redhat.com 
  Sent: Thursday, May 13, 2004 11:41 AM
  Subject: SSH problem


  Hi all,

  I'm facing a problem here and it's urgent.
  I was using ssh from within my script to execute some commands on another server as a different user (with SSH and SUDO). 2 days back my server failed and I had to restore it. Now, it's about 90% up, but I'm facing this new problem. 

  When my script runs, it displays message 

  Aborted by user!

  for the ssh part. Below is the output of debug command, cant really understand it:

  OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: Seeding random number generator
  debug1: Rhosts Authentication disabled, originating port will not be trusted.
  debug1: restore_uid
  debug1: ssh_connect: getuid 48 geteuid 0 anon 1
  debug1: Connecting to kipl2.kappa.net.in [210.212.102.3] port 22.
  debug1: temporarily_use_uid: 48/48 (e=0)
  debug1: restore_uid
  debug1: temporarily_use_uid: 48/48 (e=0)
  debug1: restore_uid
  debug1: Connection established.
  debug1: read PEM private key done: type DSA
  debug1: read PEM private key done: type RSA
  debug1: identity file /var/www/.ssh/identity type -1
  debug1: identity file /var/www/.ssh/id_rsa type 1
  debug1: identity file /var/www/.ssh/id_dsa type 2
  debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1
  debug1: match: OpenSSH_3.5p1 pat ^OpenSSH
  Enabling compatibility mode for protocol 2.0
  debug1: Local version string SSH-2.0-OpenSSH_2.9p2
  debug1: SSH2_MSG_KEXINIT sent
  debug1: SSH2_MSG_KEXINIT received
  debug1: kex: server->client aes128-cbc hmac-md5 none
  debug1: kex: client->server aes128-cbc hmac-md5 none
  debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent
  debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
  debug1: dh_gen_key: priv key bits set: 118/256
  debug1: bits set: 1597/3191
  debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  Aborted by user!
  debug1: Calling cleanup 0x8063570(0x0)

  If anybody can help me out of this and as soon as possible, I'll really appreciate that. Any help, suggestions.......plz

  Thanks in advance
  Nitin


------------------------------------------------------------------------------


  -- 
  redhat-list mailing list
  unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
  https://www.redhat.com/mailman/listinfo/redhat-list



------------------------------------------------------------------------------


  -- 
  redhat-list mailing list
  unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
  https://www.redhat.com/mailman/listinfo/redhat-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-list/attachments/20040513/9960dba1/attachment.htm>


More information about the redhat-list mailing list