> Note that the first byte of the sequence is 01. Is this an > old-style scp message type byte? Yes, you need to prefix error messages with \001. I also think that you can just send them to stdout. denis