Skip to content

OpenSSH Creating a .ssh folder which isn't hidden #2348

Open
@MrGrymReaper

Description

@MrGrymReaper

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions