News for hackers. Stuff that matters.
Re:eBPF on Windows by e12e on Monday May 10, 2021 @03:09PM (#27109610)
I seem to recall authorized_keys works as expected; it goes into %HOME%\.ssh\authorized_keys (I'm not sure/can't recall if there are some similar permission requirements). Anyway, that's eg: c:\users\mcgyver\.ssh\authorized_keys

And ssh needs a restart.

That said, windows remote management is traditionally via WMI, not powershell. But PS has come a long way, and ssh is a sane transport. And it can function as a tunnel for WMI, RDP and PS (ssh is easier to use for key based auth, disabling password auth).

Re:eBPF on Windows by mook on Monday May 10, 2021 @04:10PM (#27110310)
If you're a member of the administrators group, by default it uses something out of C:\ProgramData instead.

https://docs.microsoft.com/en-us/windows-server/administrati...

Re:eBPF on Windows by e12e on Monday May 10, 2021 @05:45PM (#27111251)
But of course, you're not running as Administrator, right? That's why we have runas... :)