The proper behavior should be when prompt for password/passphrase, turn off the echo, and after that restore the original setting. This is extremely important especially when exit from sftp, the tty setting should be at its original state just before entering sftp!
The proper behavior should be when prompt for password/ passphrase, turn off the echo, and after that restore the original setting. This is extremely important especially when exit from sftp, the tty setting should be at its original state just before entering sftp!