Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
-> 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 🙌.
SortOfTested24536307dEverything 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 🤷♀️
axx885612307dSince you can't get user information when the user ssh into another server, they made this thing this much tough
hashedram11929307dYour question is its own answer. It's hard, because Microsoft owns them.
darkvoid592306dwell 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
saas1221306d@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 🥴
darkvoid592306d@mentions you have permissions issues on your files? I have never had that kind of issue, does running as administrator do anything, you probably have tried this.
Uhm is it you work ps? Maybe they have some sort of group policy that is conflicting?
saas1221305d@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.