Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
saas13014ySo,
-> 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 π€·βοΈ -
axx8856124ySince you can't get user information when the user ssh into another server, they made this thing this much tough
-
darkvoid5784ywell 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:
Host github.com
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa # or the name of your key
Also in your PowerShell profile add
Start-SshAgent
Let me know if this works -
saas13014y@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 π₯΄ -
darkvoid5784y@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? -
saas13014y@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.
Related Rants
Microsoft owns github
Microsoft owns windows
Microsoft owns powershell
Why then, why exactly, is it so fucking hard to get ssh private keys for github, up and running on windows powershell.
I tried to change permissions on files but then it broke the git-bash implementation π.
Fuck it !! ππ
rant
github
windows
powershell