Description of problem: When trying to connect to a SSH server via password authentication, there is no way to enter the password. Instead, the Permission is denied several times before the server disconnects. Version-Release number of selected component (if applicable): kitty 0.25.0 How reproducible: Consistently Steps to Reproduce: 1. As recommended in the documentation, `alias ssh='kitty +kitten ssh'` 2. `$ ssh -v -o PasswordAuthentication=yes -o PreferredAuthentications=keyboard-interactive,password -o PubkeyAuthentication=no user@server` Actual results: ``` [...] debug1: Authentications that can continue: password,keyboard-interactive debug1: Next authentication method: keyboard-interactive debug1: read_passphrase: requested to askpass ssh_askpass: exec(/usr/lib64/kitty/shell-integration/ssh/askpass.py): Permission denied debug1: read_passphrase: requested to askpass ssh_askpass: exec(/usr/lib64/kitty/shell-integration/ssh/askpass.py): Permission denied debug1: Authentications that can continue: password,keyboard-interactive debug1: read_passphrase: requested to askpass ssh_askpass: exec(/usr/lib64/kitty/shell-integration/ssh/askpass.py): Permission denied debug1: read_passphrase: requested to askpass ssh_askpass: exec(/usr/lib64/kitty/shell-integration/ssh/askpass.py): Permission denied Received disconnect from [IP] port 22:2: Too many authentication failures for [user] Disconnected from [IP] port 22 ``` Expected results: ``` debug1: Authentications that can continue: password,keyboard-interactive debug1: Next authentication method: keyboard-interactive (user@server) Password: ``` (reading password input) Additional info: The problem occurs both with `GNU bash, version 5.1.16(1)-release (x86_64-redhat-linux-gnu)` and `zsh 5.8.1 (x86_64-redhat-linux-gnu)`. ``` $ ls -l /usr/lib64/kitty/shell-integration/ssh/askpass.py -rw-r--r--. 1 root root 1398 27. Apr 14:03 /usr/lib64/kitty/shell-integration/ssh/askpass.py ```
*** This bug has been marked as a duplicate of bug 2088828 ***