NA of Moles

Tag: Windows

How to add your private keys to the native Windows SSH client:

powershell
# By default the ssh-agent service is disabled. Configure it to start automatically.
# Make sure you're running as an Administrator.
Get-Service ssh-agent | Set-Service -StartupType Automatic

# Start the service
Start-Service ssh-agent

# This should return a status of Running
Get-Service ssh-agent

# Now load your key files into ssh-agent
ssh-add $env:USERPROFILE\.ssh\id_ecdsa

https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement

Tags: #SSH #Windows