Windows上のKeePassXC ssh-agentをWSLでも使う
code:powershell
sudo Set-Service -StartupType Automatic ssh-agent
sudo Start-Service ssh-agent
sudo Stop-Service -name sshd
sudo Set-Service -StartupType disabled sshd
KeePassXCの設定 -> SSH Agent → Enable SSH Agent integration
Use OpenSSH
こちらはWindows側
code:powershell
git config --global core.sshCommand "'C:/Program Files/OpenSSH/ssh.exe'"
共通Git設定
code:git
git config --global user.email "you@example.com"
git config --global user.name "Your Name"