fix: Use private key to login on Windows

master
parent 774e277e99
commit 83f28d03f0
Signed by: millironx
GPG Key ID: 09335146883990B9

@ -1,6 +1,6 @@
Host *
IdentitiesOnly yes
IdentityFile {{ if and (eq .machinetype "workstation") (ne .chezmoi.os "windows") }}~/.ssh/id_rsa_yubikey.pub{{ else }}~/.ssh/id_ed25519.pub{{ end }}
IdentityFile {{ if and (eq .machinetype "workstation") (ne .chezmoi.os "windows") }}~/.ssh/id_rsa_yubikey.pub{{ else }}~/.ssh/id_ed25519{{ end }}
Host aahz
HostName 129.130.108.37

Loading…
Cancel
Save