I compiled the 5.3p1 taken from openssh.com and tested, it doesn't show the problem. So it's very clear it's Ubuntu complied sftp program that has the issue.
Though by default, the openssh configure doesn't include "--with-libedit", it's Ubuntu added that option.
I compiled the 5.3p1 taken from openssh.com and tested, it doesn't show the problem. So it's very clear it's Ubuntu complied sftp program that has the issue.
Though by default, the openssh configure doesn't include "--with-libedit", it's Ubuntu added that option.