GramEditor/gram
38
985
Fork
You've already forked gram
88

ssh_askpass broken, regression ? #320

Open
opened 2026年05月29日 19:56:53 +02:00 by Frysog · 1 comment

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.
Owner
Copy link

hm, I don't think I have tried this in a very long time... it could very possibly be a regression.

hm, I don't think I have tried this in a very long time... it could very possibly be a regression.
Sign in to join this conversation.
main
main
test/wgpu-on-mac
test-ci/failing-test-mac
test/failing-test-mac
test/build-on-22-04
test/wgpu-present-mode-mailbox
v2.1
test/altgr-fix-again
test/2.0.0-rc1
test/linux-build
test/objc2
v1.2.1
3.0.1
3.0.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.0
1.2.1
1.2.0
1.1.0
1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GramEditor/gram#320
Reference in a new issue
GramEditor/gram
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?