Hi, It seems that sftp without libedit causes a bug with prompt: # ./sftp danice at 0 danice at 0's password: Connected to danice at 0. ls /var/empty ls /var/empty ls /var/empty bye sftp> sftp> sftp> sftp> # # ssh -V OpenSSH_7.5p1, without OpenSSL Best regards, Daniel