Remote php interpreter over ssh get message too long

The test connection says it's ok, but when I try to update php info , it says Can not update phpinfo: 4 Received message is too long:1581478506

5 comments
Comment actions Permalink

Please reproduce the issue and provide the log file

https://intellij-support.jetbrains.com/entries/23352446 . And phpinfo() output.
0
Comment actions Permalink

The log and phpinfo.html is in Archive.zip.

And I tried sftp in command line, it also receive the same error message, but when I ssh to the remote server, it will not echo anything. (no echo in .bashrc)

Maybe the issue is that sftp does not support ssh force command?

The remote interpreter is actually inside a docker container, and I add a key in ~/.ssh/authorited_keys on the host server, with command="docker exec -ti php bash" for that key. If I use ssh -i <private_key> to ssh on the host server, it will result in entering the docker container. Neither of sftp and scp work in the command line.



Attachment(s):
Archive.zip
0
Comment actions Permalink
It's a known jsch bug http://www.snailbook.com/faq/sftp-corruption.auto.html . You may create a bug for the remote sdk subsytem (http://youtrack.jetbrains.com/issues/IDEA#newissue=yes) if you want them to provide a better description for this issue. Nothing else we can do from our side.
0
Comment actions Permalink

Thank you for your reply !
Now I install sshd inside my docker container, so I can pass around sftp's issue with ssh force command.
But now there is another issue: Algorithm negotiation fail.
The log is in attachment. Is this another bug of jsch>



Attachment(s):
idea.log.zip
0

Please sign in to leave a comment.