Add an addition message for explaining the exit status.

Wen Qi WQ Ye yewenqi at
Wed May 19 18:52:51 AEST 2021

Hi all,

Usually we will open the debug mode to trace the connection and locate the
problem. When the server side is disconnect, client side will get a message
"debug1: Exit status -1". Some non-experienced users will be misled by this
message and think that the issue resides on the client side. Whether we can
add an addition message for explaining the exit status is from which side?
Such as "debug1: Exit status 1 from remote server". Thanks a

Best Regards,
Wenqi YE /叶文琦(Vicky)

System z Software Engineer
IBM China System & Technology Lab(CSTL)
Tel:86-010-82453299       Email:yewenqi at
Addr: No.28 Ring Building, ZhongGuanCun Software Park,No.8 Dong Bei Wang
West Road, Haidian District Beijing P.R.China 100193
邮政编码: 100193

More information about the openssh-unix-dev mailing list