Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 3
    The question states "we found that the SSH connection created some output by a script" and my answer addresses the generic problem of noisy startup scripts. Your answer reveals that sftp-server couldn't work due to LD_LIBRARY_PATH, so even if everything was silent, SFTP wouldn't work. For a moment I considered deleting my answer, as the answer could not help you by itself. Now I think it's good to have my answer that explains a relatively common issue, along your answer that reveals the actual, somewhat unexpected culprit. Commented Jan 27, 2023 at 11:20
  • @KamilMaciorowski you should definitely leave your answer. My initial deduction was not entirely correct. Error 127 means the binary cannot be found, or as in this case apparently cannot be executed. I haven't even tried yet if fixing the problems with dynamic linker would make sftp-server work (while the output from profile is still present). Commented Jan 28, 2023 at 12:15