Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
senekor
2 years agoNew Contributor
Sign git commits with ssh-key while ssh'd into a server?
I have recently setup git-commit-signing with 1password, which is nice. Unfortunately, I cannot create and sign commits when I'm ssh'd into a server, since it doesn't have 1password installed.
The...
senekor
2 years agoNew Contributor
Awesome, thank you so much for the detailed response. My mistake was this: I had this git config snippet both on the server and locally:
[gpg "ssh"]
program = /opt/1Password/op-ssh-sign
I mindlessly copy-pasted it. However, with ssh-forwarding, it is not necessary on the server and breaks stuff when the 1password program is not installed. Simply removing this from the git config on the server made it work.
Thanks!