error: ssh: Could not resolve hostname sign
Hi,
I want to turn off the SSH agent of 1password.
I got the error "error: ssh: Could not resolve hostname sign" when I want to commit the git.
I have fallow this article : https://stackoverflow.com/questions/74395984/git-commit-error-could-not-connect-to-socket-is-the-agent-running-fatal-fai
Do I delete other config?
1Password Version: 8.9.8
Extension Version: Not Provided
OS Version: macOS 13.0.1
Browser:_ Not Provided
Referrer: forum-search:error: ssh: Could not resolve hostname sign
Comments
-
Hi @Jack.P_1P
This problem happened after disabling the 1password agent and following the article.
Can you give me the correct steps on how to disable the 1password agent?0 -
Hi,
/usr/bin/ssh0 -
And error log is
16:22:22.945: [hw5] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false init
Initialized empty Git repository in /Users/r1235613/CLionProjects/hw5/.git/
16:22:53.426: [hw5] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -- src/common/ppm.cpp src/common/CycleTimer.h src/kernel.cu src/main.cpp src/Makefile src/mandelbrotSerial.cpp src/mandelbrotThreadRef.a src/kernel.h src/mandelbrotThread.cpp
16:22:53.461: [hw5] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -- src
16:22:59.179: [hw5] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false add --ignore-errors -A -f -- src/common/ppm.cpp src/common/CycleTimer.h src/main.cpp src/kernel.h src/mandelbrotThread.cpp src/mandelbrotSerial.cpp src/kernel.cu src/Makefile src/mandelbrotThreadRef.a
16:22:59.195: [hw5] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false commit -F /private/var/folders/js/tk6rs0dn6k7438w5nhb91dsh0000gn/T/git-commit-msg-.txt --
error: ssh: Could not resolve hostname sign: nodename nor servname provided, or not known?
fatal: failed to write commit object0 -
I resolve this issue.
The problem is Jetbiains' software will auto-signing with GPG key.
When you disable the 1password agent, Jetbrains could not located path of gpg key.
So, just disable gpg sing function or assign a new path of gpg key.0