Apache Mina SSHD server

707 views Asked by At

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?

1

There are 1 answers

0
azis.mrazish On

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.