Skip to content

tilde_expand in client fails to resolve path #2309

Closed
PowerShell/openssh-portable
#768
@tgauth

Description

@tgauth

Prerequisites

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

Steps to reproduce

When passing, ~ as part of a path, i.e. -i ~\.ssh\example_key, the path should resolve to the user's home directory.

Expected behavior

For `user` it would resolve to - `C:\users\user\.ssh\example_user`

Actual behavior

For `user` the following error occurs - `tilde_expand: No such user \\.ssh\\example_key`

Error details

No response

Environment data

Version 8.9 and above

Version

9.8.1.0

Visuals

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions