Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
-> Powershell doesn't like the permission on config file
-> WSL bash doesn't like permissions on the private key
-> Git-bash understands that most stuff sucks on windows and just works. Thank you git-bash devs 🙌.
Everything about the windows development story is the hottest of hot garbage. Supposedly you were getting your own native ssh service, but then they didn't seem to want to integrate it with anything.
MS finally realized that and is scrambling to make up ground bc of their cloud investment, so now you're left with mixed paradigm experience. Which I guess is better than a broken paradigm, assuming it eventually works 🤷♀️
axx88561229dSince you can't get user information when the user ssh into another server, they made this thing this much tough
hashedram1062828dYour question is its own answer. It's hard, because Microsoft owns them.
justdoitnow50028dwell it's kinda easy to setup ssh keys on PowerShell
ssh-keygen -t rsa -b 4094
create a config in ~/.ssh/ with the following content:
IdentityFile ~/.ssh/id_rsa # or the name of your key
Also in your PowerShell profile add
Let me know if this works
mentions116928d@justdoitnow all this done. Can't get the permissions on config file straight.
It shows a bad owner or permissions error.
I'm the owner and i have read write execute permissions on the config. I also tried changing it (permissions) to full but still throws the same error.
No other users or groups are added in permissions. Tried all SO, SU, git docs but nothing 🥴
mentions116926d@justdoitnow i have tried as admin. This isn't a work PC.
I never understood windows permissions. I have tried several different combinations but when i check the permissions from a bash shell or powershell, they are either applied to all UGO, or to neither user , group and others. It's either all or none. I can't get the permissions to be set for only user.
I've googled but couldn't find it. Although i was stressed because of my exams, so, I'll do that again today now that exams are over 🤞.
I think windows groups inherit permissions from the user that the user is a part of 🤣. That would be so weird.