Reputation: 107
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
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