protocol error : expected control record

RAVI PRATAP Singh singh.ravipratap88 at
Mon Mar 17 21:48:45 EST 2014

Hi All,

During scp, I am seeing this message
protocol error : expected control record

This message came because scp sink was expecting the message starting from
'C' or 'D' , something like C0644 299 group or D0755 0 docs but during dns
query we were printing "Using IP address" message on the stdout.

So , the message in the buffer was "Using IP address" and thus message
"protocol error : expected control record" was thrown.

Is openssh scp should always expect 'Cmmmm' or 'Dmmmm' messages ? Is fix
available for taking care scenario where on stdout something is printed.

Ravi Pratap

More information about the openssh-unix-dev mailing list