Closed DrummyFloyd closed 9 months ago
Three things:
user
field in that case. Instead, you need to pass your passphrase
like so:
git:
remotes:
origin:
authenticationMethod: "PUBLIC_KEY"
privateKey: "{{#fileContent}}<dirToYourHome/>/.ssh/id_ed25519{{/fileContent}}"
passphrase: "{{#environmentVariable}}SSH_PASSPHRASE{{/environmentVariable}"
where you need to replace <dirToYourHome/>
with your path and then set the environment variable SSH_PASSPHRASE
in the shell where you execute nyx
.
Note that the above solution will leave your passphrase readable as plain text in your shell history but it is still better than using, e.g., passphrase: "actualPassphrase"
.
nyx
assumes you mean a relative path w.r.t. your current working directory. {{#fileContent}}
template bit and you can see it in the raw source. However, that is mentioned in the docs.Hope that helps
Thanks @sh-cau . I'm closing this issue as it seems already addressed. Feel free to reopen in case you need.
thank you guys for the answer !!!!
here my ssh config for the git sections , dunno where im wrong
any idea what i'm missing?
obviously , my ssh key exist, because i'vve clone my repo and work everyday with this key =)