1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-12-22 00:58:17 +00:00

fix: Use private key to login on Windows

This commit is contained in:
Thomas A. Christensen II 2023-04-15 19:01:21 -05:00
parent 774e277e99
commit 83f28d03f0
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -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