Could this be the problem?
below is from: https://sshnet.codeplex.com/workitem/1584
And if it is, is there a simple way to just select which is used via a switch/option? I'm sure there are cases for each way...
below is from: https://sshnet.codeplex.com/workitem/1584
And if it is, is there a simple way to just select which is used via a switch/option? I'm sure there are cases for each way...
Remove Line Feed from WriteLine method in Shellstream Class
description
When working with the expect method, it was discovered the WriteLine was sending an linefeed after a carriage return. This was throwing some SSH implementations off because the linefeed is being interpreted as a second carriage return.
I'm suggesting that:
var commandText = string.Format("{0}{1}", line, "\r\n");
be replaced with
var commandText = string.Format("{0}{1}", line, "\r");