Operating System - HP-UX
1820475 Members
2939 Online
109624 Solutions
New Discussion юеВ

sftp error message - help

 
jayan_3
Occasional Contributor

sftp error message - help

Hi ,
openssh implemented in two servers and when tried sftp,I get the following message

sftp hpsys
Connecting to hpsys
jayan Password:
Received message too long 538976288

How do we go about this ?

regards
Jayan
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: sftp error message - help

Hi Jayan,

Looks like the protocol exchange is getting messed up somewhere. It happens mostly due to the users' startup files such as .profile ,.login. Try with a default .profile on hpsys and see if it helps. Also I wouldn't rule out things such as password expiry, disabled accounts etc.,

If possible, try running sshd in debug mode (sshd -d) on the otherserver and see the output.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Ivajlo Yanakiev
Respected Contributor

Re: sftp error message - help

Take a look at /var/adm/syslog/syslog.log
ssh will write some info for connection.
Jordan Bean
Honored Contributor

Re: sftp error message - help

run sshd in full debug mode:

/path/to/sshd -ddde > /tmp/sshd.err 2>&1

this will run sshd in the forground and send all debugging messages to stdout and stderr. sshd will terminate after one connection.

post the file sshd.err so we can help you debug.