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

MacOS version does not understand home folder as ~ #872

Open
nhanledev opened this issue Jul 9, 2022 · 6 comments
Open

MacOS version does not understand home folder as ~ #872

nhanledev opened this issue Jul 9, 2022 · 6 comments

Comments

@nhanledev
Copy link

nhanledev commented Jul 9, 2022

I use Windows, Linux and MacOS version of Windterm 2.4.1 using the same .wind folder.

On windows and Linux, Winterm can understand that ~ in ~/.ssh/mykey is the home folder, but on MacOS, it does not recognize the ~ path.

Example is shown in the screenshot below. I think there is something wrong with parsing the home path on Mac.

Screen Shot 2022-07-09 at 22 43 00

@kingToolbox
Copy link
Owner

Thank you, I will investigate this issue and if confirmed I will fix it in the 2.5.0 version which will be released soon.

@nhanledev
Copy link
Author

nhanledev commented Aug 4, 2022

The bug is still occurs on MacOS on version 2.5.0.
For more details:

  • My ssh private key is at Users/nhanle/.ssh/id_ed25519_nopass on MacOS and C:\Users\nhanle\.ssh\id_ed25519_nopass on Windows
  • I share the same .wind folder for both Mac and Windows
  • I use the path ~/.ssh/id_ed25519_nopass for my key
  • On windows, I can establish connection to the destination server, on Mac I can not.
  • MacOS only recognize the file using Users/nhanle/.ssh/id_ed25519_nopass, not ~/.ssh/id_ed25519_nopass

@xieccc
Copy link

xieccc commented Oct 27, 2022

Yes, it still exists.

@PMExtra
Copy link

PMExtra commented Jul 17, 2023

Same problem here.
Did you find any solution?

@nhanledev
Copy link
Author

nhanledev commented Jul 17, 2023

No, looks like the author hasn't had the patch for this issue yet.

@PMExtra
Copy link

PMExtra commented Jul 18, 2023

@kingToolbox Watch this issue again, please

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

No branches or pull requests

4 participants