azis.mrazish
azis.mrazish

Reputation: 107

Apache Mina SSHD server

I have an issue running apache sshd server on different platforms: Beging run on windows, it sends \r\n to client, while on linux( solaris) it sends \n only, which causes client to display new lines without carriage return. How to make it consistent to send proper line delimiter misregarding platform it is running on?

Upvotes: 1

Views: 780

Answers (1)

azis.mrazish
azis.mrazish

Reputation: 107

Finally, ended up with wrapping server's printwriter with hardcoded println(), the issue was actually not in sshd itself. Though command list still looks different on solaris and windows, but it is not critical.

Upvotes: 1

Related Questions