You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0b7eb7a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ssh): include the Coder SSH config where OpenSSH reads it off Windows
OpenSSH reads ~/.ssh/config from the passwd entry and ignores HOME, but
the extension wrote the include into $HOME/.ssh/config through
os.homedir(). With HOME pointing elsewhere, ssh never saw the include.
- Write the user's config under the passwd home (os.userInfo()), falling
back to os.homedir() without a passwd entry.
- OpenSSH expands ~ in Include from HOME (8.9) or the passwd entry (10.2),
so write ~/... only when both are the same directory, else the absolute
path.
0 commit comments