So, based on your test, it's libedit caused the problem for ssh/sftp. This is the first time I reported bug to ubuntu, and found them not so helpful.
So, based on your test, it's libedit caused the problem for ssh/sftp.
This is the first time I reported bug to ubuntu, and found them not so helpful.