cmder: Wrong HOME directory - SSH on WIN10 (latest official release)
Hi,
I have the latest portable version of CMDER. When I try to create SSH key or use SSH, it always refers to the directory:
\home\username\
instead of c:\Users\username\
Screen: https://i.imgur.com/9Snt431.png
Even though my HOME directory variable is fine, CMDER still looks in the home folder as it would on Linux.
Any idea what could help me solve this?
Thank you.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (7 by maintainers)
In my opinion:
%PATH%
priorities to use the OpenSSH installation first and before any other SSH installations.ssh.exe
. Personally, I would symlink it to a recentssh.exe
binary.Change the PATH from: <kbd>Windows</kbd> + <kbd>Pause/Break</kbd> → Advanced system settings → Environment Variables… (button at the bottom) → From System variables, choose PATH and then Edit. Select the path with OpenSSH and move it above Chocolatey’s path.
For example, here’s an screenshot ofwhat my PATH are: