Win32-OpenSSH icon indicating copy to clipboard operation
Win32-OpenSSH copied to clipboard

OpenSSH Creating a .ssh folder which isn't hidden

Open MrGrymReaper opened this issue 7 months ago • 3 comments
trafficstars

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest version
  • [x] Search the existing issues.

Steps to reproduce

  1. Initialise the OpenSSH client on new and up to date instance of Windows 10 or later. This can be done by establishing a SSH connection for the first time.
  2. Navigate to the user profile folder look for the .ssh folder.
  3. Notice that the folder is visible.

Expected behavior

The expected behaviour is for the .ssh folder to be created with the hidden bit.

Actual behavior

The .ssh folder is created without the hidden bit set however. This is confusing for any users coming from a Unix-Like environment, due to the period in front of a name indicates a hidden file or directory.

This behaviour may not align with expectations of users who are coming from Unix-like environments where such files and folders are automatically hidden.

Error details

Not applicable with this issue.

Environment data

PSVersion                      5.1.19041.5737
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.5737
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Version

The version of OpenSSH distributed in version 19045.5737 of Windows 10

Visuals

MrGrymReaper avatar Apr 14 '25 20:04 MrGrymReaper