UnixPedia : HPUX / LINUX / SOLARIS: HPUX : SFTP :Connection closed

Monday, August 19, 2013

HPUX : SFTP :Connection closed

Issue :

When trying to connect with sftp command from server system05.jnj.com to server ABCD012.na.jnj.com with the user  plabtcp the following message is shown:

$ sftp plabtcp@ABCD012.na.jnj.com

########################################################################

#                                                                      #

#                          WARNING NOTICE:                             #

#  "You are about to enter a Private Network that is intended for the  #

#  authorized  use of a Private  Company and its affiliate  companies  #

#  (the "Company") for business purposes only. The actual or attempted #

#  unauthorized access,use or modification of this network is strictly #

#  prohibited by the Company. Unauthorized users  and/or unauthorized  #

#  use are subject to Company disciplinary proceedings and/or criminal #

#  and  civil penalties in  accordance  with applicable  domestic and  #

#  foreign laws. The use of this system may be monitored and recorded  #

#  for administrative and security reasons. If such monitoring and/or  #

#  recording  reveals possible  evidence of  criminal  activity,  the  #

#  Company may provide the monitored evidence of such activity to law  #

#  enforcement officials."                                             #

#                                                                      #

########################################################################

Connection closed

 

In syslog entry :

Aug 19 03:53:08 system05 sshd[11255]: Accepted publickey for plabtcp from 10.xx.xx.69 port 40958 ssh2

Aug 19 03:53:08 system05 sshd[11309]: subsystem request for sftp

Aug 19 03:53:08 system05 sshd[11309]: Received disconnect from 10.xx.xx.69: 11: disconnected by user

Aug 19 03:53:08 system05 sshd[11309]: ERROR: Unexpected error in conversation: (6)

Aug 19 03:53:09 system05 sshd[11376]: Accepted publickey for plabtcp from 10.xx.xx.69 port 22675 ssh2

Aug 19 03:53:09 system05 sshd[11388]: subsystem request for sftp

Aug 19 03:53:09 system05 sshd[11388]: Received disconnect from 10.xx.xx.69: 11: disconnected by user

 

 

Solution :

Account plabtcp is in locked state on the ABCD012.na.jnj.com. unlocking the user resolve the issue.

 

i=plabtcp

/usr/lbin/getprpw $i

/usr/lbin/modprpw -k -l $i; /usr/lbin/modprpw -v -l $i

 

 

 

1 comment: