1835267 Members
2314 Online
110078 Solutions
New Discussion

Re: Sftp Error

 
Eric Jacklin
Regular Advisor

Sftp Error

Hi team,

A internet hosted server try to do SFTP to our host and they are able to reach our server and syslog show that password is accepted but the connection is getting disconnected while file transfer.

So Would you please help me to resolve this.




Server Model : Rp7400
OS : HP UX 11.11
Error :Feb 26 20:14:47 gmil sshd[18756]: Accepted password for primotra from 205.239.141.146 port 1195 ssh2
Feb 26 20:14:48 gmil sshd[18766]: subsystem request for sftp
Feb 26 20:14:50 gmil sshd[18766]: Received disconnect from 205.239.141.146: 11: Terminating connection
8 REPLIES 8
Khairy
Esteemed Contributor

Re: Sftp Error

hi,

increase time out value in sshd_config file.

ClientAliveInterval 600

This will increase time out value to 20 minutes.

pls assign some points if this answer your question.

Rgds
Eric Jacklin
Regular Advisor

Re: Sftp Error

Hi

Would you please provide me the path as i cannot file sshd_config file in the system
Jeeshan
Honored Contributor

Re: Sftp Error

look in /opt/ssh/etc
a warrior never quits
Darrel Louis
Honored Contributor

Re: Sftp Error

Hi,

To see where your sshd_config file is:
find / -name sshd_config

Remember to restart sshd when modifying the sshd_config file.
Can you try the following for detailed info:
sftp -vvv

GoodLuck
Darrel
Eric Jacklin
Regular Advisor

Re: Sftp Error

Hi,

Would you please help me with the comamnd to restart sshd

Steven E. Protter
Exalted Contributor

Re: Sftp Error

Shalom,

/sbin/init.d/secsh stop
/sbin/init.d/secsh start

I would recommend updating to a current version of secure shell/sshd from http://software.hp.com

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Darrel Louis
Honored Contributor

Re: Sftp Error

Hi,

Check in /sbin/init.d for your startup script.
example:
/sbin/init.d/sshd stop
/sbin/init.d/sshd start

GoodLuck
Darrel
Eric Jacklin
Regular Advisor

Re: Sftp Error

thanks