Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh-keygen fails with tilde ~ #2206

Open
3 tasks done
ThomasNieto opened this issue Feb 16, 2024 · 0 comments
Open
3 tasks done

ssh-keygen fails with tilde ~ #2206

ThomasNieto opened this issue Feb 16, 2024 · 0 comments

Comments

@ThomasNieto
Copy link

Prerequisites

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

Steps to reproduce

If you try to use tilde ~ to represent the user's home path ssh-keygen will fail.

Expected behavior

Keys generated successfully

Actual behavior

ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (C:\Users\thomas/.ssh/id_rsa): ~/abc/id_abc
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Saving key "~/abc/id_abc" failed: No such file or directory

Error details

No response

Environment data

Tested in Windows PowerShell 5.1 and PowerShell 7.4.1

Version

8.6.0.1

Visuals

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants