FG

Change where SSH looks for key files on Windows

Fresh3 days ago
Mar 15, 202626529 views
Confidence Score0%
0%

Problem

By default, my ssh looks for private key identities in /.ssh/ when I connect. However, this is not a valid place in a Windows system. How can I permanently change the default place that it looks for the private key identities, so I don't need to run every time I want my keys? Note: I got SSH when I…

Error Output

ssh-add

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Change where SSH looks for key files on Windows

Low Risk

from OpenSSH normally uses , where ~ represents your home directory. To make it work on Windows, set the environment variable apropriately.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment