Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
Search Forums:



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-19-2011
Registered User
 

Join Date: Sep 2011
Posts: 55
Thanks: 1
Thanked 3 Times in 2 Posts
[Solved] ssh debug1: Exit status 254 problem

Hello;

Am experiencing odd problem with ssh:

=========
Code:
ssh -vvv remote_host
:
:
debug2: channel 0: rcvd adjust 65536
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug2: channel 0: rcvd eow
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
Last   successful login for mgmt: Tue Oct 18 00:00:01 EST5EDT 2011
Last unsuccessful login for mgmt: Sun Jul 10 03:51:04 EST5EDT 2011
Last login: Wed Oct 19 08:15:23 2011 from fidsrv.dataphile.broadridge.com
debug3: channel 0: will not send data after close
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cfd -1)

debug3: channel 0: close_fds r -1 w -1 e 6 c -1
Connection to fidfosrv closed.
Transferred: sent 2496, received 2536 bytes, in 247.6 seconds
Bytes per second: sent 10.1, received 10.2
debug1: Exit status 254

===================

What might cause this ??
Any advice is appreciated, thank you

---------- Post updated at 11:11 AM ---------- Previous update was at 09:56 AM ----------

problem solved

Last edited by vbe; 10-19-2011 at 11:04 AM.. Reason: please use code tags for code/data
Sponsored Links
    #2  
Old 10-19-2011
Moderator
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 12,127
Thanks: 230
Thanked 1,686 Times in 1,618 Posts
I suspect it was a bad shell setting, but it'd be nice to know for sure. Nothing's more annoying than searching for something and finding the question, not the answer.
Sponsored Links
    #3  
Old 10-19-2011
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 3,773
Thanks: 53
Thanked 156 Times in 150 Posts
I follow Corona here, the forum is for the good of all and you accepted the rules, you are also to share, if your problem is solved then you can also share the solution it is the least you can do after asking some help knowing that fellows will be giving their time to help you solve your issue.
    #4  
Old 10-20-2011
Registered User
 

Join Date: Sep 2011
Posts: 55
Thanks: 1
Thanked 3 Times in 2 Posts
found the fix

turned out to be the inconsistent password problem under /tcb/files/auth/first-letter-of-username

Under there, there were username and "username-t" files

deleted "username-t" file and the problem went away

Hope this helps someone

Cheers !!
The Following 2 Users Say Thank You to delphys For This Useful Post:
Corona688 (10-20-2011), vbe (10-20-2011)
Sponsored Links
    #5  
Old 10-20-2011
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 3,773
Thanks: 53
Thanked 156 Times in 150 Posts
I can now change the status to solved knowing the solution is given...
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Find exit status problem aliahsan81 Shell Programming and Scripting 1 04-18-2009 11:08 AM
sh recursive sub-shell exit status problem philp Shell Programming and Scripting 2 01-07-2009 05:15 AM
Move Command and exit status problem visingha Shell Programming and Scripting 10 09-13-2008 08:08 PM
Move Command and exit status problem visingha UNIX for Dummies Questions & Answers 1 09-12-2008 02:14 AM
Problem with exit status diganta Shell Programming and Scripting 1 09-28-2005 08:34 AM



All times are GMT -4. The time now is 11:26 PM.