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 conemu64_2018-03-01_02-16-02

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)

Most upvoted comments

In my opinion:

  1. Update the %PATH% priorities to use the OpenSSH installation first and before any other SSH installations.
  2. For Chocolatey, go to the installation directory and manually remove or better, update the ssh.exe. Personally, I would symlink it to a recent ssh.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:

path_list