This project is read-only.

ScpClient false error detected during upload

Dec 8, 2014 at 4:15 PM

When I upload a file with ScpClient, the Upload() method calls the method CheckReturnCode() to check if there is no error.
My problem is that there is a message catch by CheckReturnCode() but it is not an error message, it's a message shown at login "AIX (5L)".

As workaround I've modified the code this way:
First I execute the SendExecRequest() method with a simple "echo ." command and if I get a message, I save it and CheckReturnCode() will not raise an error if this message is caught.

Is it known and/or it there another way to solve the problem?

Dec 8, 2014 at 9:44 PM
What version of SSH.NET are you using ?
Dec 9, 2014 at 9:21 AM
I use the latest commit 41089.
Dec 22, 2014 at 3:39 PM
I failed to reproduce this issue with OpenSSH, but I'm pretty sure this is not a SSH.NET issue:

See the section on "Running scp with talkative shell profiles on the remote side?" in
Marked as answer by drieseng on 12/22/2014 at 7:39 AM