<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Nitin,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Could it be an expected character in your 
script?  You might want to include this part (or all) of it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does the SSH session launch successfully when run 
interactively (using the same user and password)?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Good luck,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jim</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=nitinmehta@kappa.net.in 
  href="mailto:nitinmehta@kappa.net.in">Nitin</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=redhat-list@redhat.com 
  href="mailto:redhat-list@redhat.com">redhat-list@redhat.com</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, 13 May, 2004 16:56</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Fw: SSH problem</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Apologies for re-submission, but if anybody can 
  help me out of this ????????</FONT></DIV>
  <DIV> </DIV>
  <DIV style="FONT: 10pt arial">----- Original Message ----- 
  <DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A 
  title=nitinmehta@kappa.net.in href="mailto:nitinmehta@kappa.net.in">Nitin</A> 
  </DIV>
  <DIV><B>To:</B> <A title=redhat-list@redhat.com 
  href="mailto:redhat-list@redhat.com">redhat-list@redhat.com</A> </DIV>
  <DIV><B>Sent:</B> Thursday, May 13, 2004 11:41 AM</DIV>
  <DIV><B>Subject:</B> SSH problem</DIV></DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>I'm facing a problem here and it's 
  urgent.</FONT></DIV>
  <DIV><FONT face=Arial size=2>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. </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>When my script runs, it displays message 
  </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Aborted by user!</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>for the ssh part. Below is the output of debug 
  command, cant really understand it:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV>OpenSSH_2.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f<BR>debug1: 
  Reading configuration data /etc/ssh/ssh_config<BR>debug1: Seeding random 
  number generator<BR>debug1: Rhosts Authentication disabled, originating port 
  will not be trusted.<BR>debug1: restore_uid<BR>debug1: ssh_connect: getuid 48 
  geteuid 0 anon 1<BR>debug1: Connecting to kipl2.kappa.net.in [210.212.102.3] 
  port 22.<BR>debug1: temporarily_use_uid: 48/48 (e=0)<BR>debug1: 
  restore_uid<BR>debug1: temporarily_use_uid: 48/48 (e=0)<BR>debug1: 
  restore_uid<BR>debug1: Connection established.<BR>debug1: read PEM private key 
  done: type DSA<BR>debug1: read PEM private key done: type RSA<BR>debug1: 
  identity file /var/www/.ssh/identity type -1<BR>debug1: identity file 
  /var/www/.ssh/id_rsa type 1<BR>debug1: identity file /var/www/.ssh/id_dsa type 
  2<BR>debug1: Remote protocol version 1.99, remote software version 
  OpenSSH_3.5p1<BR>debug1: match: OpenSSH_3.5p1 pat ^OpenSSH<BR>Enabling 
  compatibility mode for protocol 2.0<BR>debug1: Local version string 
  SSH-2.0-OpenSSH_2.9p2<BR>debug1: SSH2_MSG_KEXINIT sent<BR>debug1: 
  SSH2_MSG_KEXINIT received<BR>debug1: kex: server->client aes128-cbc 
  hmac-md5 none<BR>debug1: kex: client->server aes128-cbc hmac-md5 
  none<BR>debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent<BR>debug1: expecting 
  SSH2_MSG_KEX_DH_GEX_GROUP<BR>debug1: dh_gen_key: priv key bits set: 
  118/256<BR>debug1: bits set: 1597/3191<BR>debug1: SSH2_MSG_KEX_DH_GEX_INIT 
  sent<BR>debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY<BR>Aborted by 
  user!<BR>debug1: Calling cleanup 0x8063570(0x0)<BR></DIV>
  <DIV><FONT face=Arial size=2>If anybody can help me out of this and as soon as 
  possible, I'll really appreciate that. Any help, 
  suggestions.......plz</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
  <DIV><FONT face=Arial size=2>Nitin</FONT></DIV>
  <P>
  <HR>

  <P></P>-- <BR>redhat-list mailing list<BR>unsubscribe 
  mailto:redhat-list-request@redhat.com?subject=unsubscribe<BR>https://www.redhat.com/mailman/listinfo/redhat-list<BR>
  <P>
  <HR>

  <P></P>-- <BR>redhat-list mailing list<BR>unsubscribe 
  mailto:redhat-list-request@redhat.com?subject=unsubscribe<BR>https://www.redhat.com/mailman/listinfo/redhat-list<BR></BLOCKQUOTE></BODY></HTML>