When using Gram on Linux, it needs an executable script called askpass.sh to ask the user's password for the SSH connection or to decrypt a password-protected SSH key.
I get the following logs when reaching a password authenticated remote (and also on screen):
2026年05月29日T17:00:00+00:00 ERROR [workspace::notifications] failed to connect: ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
Permission denied, please try again.
ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
Permission denied, please try again.
ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
Received disconnect from 10.0.0.144 port 22:2: Too many authenticated failures
Disconnected from 10.0.0.144 port 22
And only once for decrypting the ssh key:
2026年05月29日T17:10:00+00:00 ERROR [workspace::notifications] failed to connect: ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
Disconnected from 10.0.0.144 port 22
I just use unencrypted ssh key at the moment as a result of this bug.
When using Gram on Linux, it needs an executable script called askpass.sh to ask the user's password for the SSH connection or to decrypt a password-protected SSH key.
I get the following logs when reaching a password authenticated remote (and also on screen):
```
2026年05月29日T17:00:00+00:00 ERROR [workspace::notifications] failed to connect: ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
Permission denied, please try again.
ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
Permission denied, please try again.
ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
Received disconnect from 10.0.0.144 port 22:2: Too many authenticated failures
Disconnected from 10.0.0.144 port 22
```
And only once for decrypting the ssh key:
```
2026年05月29日T17:10:00+00:00 ERROR [workspace::notifications] failed to connect: ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
ssh_askpass: exec(/tmp/gram-askpassFrCpKN/askpass.sh): Permission denied
Disconnected from 10.0.0.144 port 22
```
I just use unencrypted ssh key at the moment as a result of this bug.