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

add Userdescription to 2024-11-26-windows-abschalten.md #186

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion content/posts/2024-11-26-windows-abschalten.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Dann ist es so:

Beachte, dass das nicht per User ist, sondern Shared für alle User, die in `Administrators` sind.

Nun gut, ist ja eine Personal Workstation, gibt also nur einen User und der ist immer Administrator, also muß das immer nach da und nie nach `%HOME%\.ssh`.
Nun gut, ist ja eine Personal Workstation, gibt also nur einen User und der ist immer Administrator, also muß das immer nach da und nie nach `%HOME%\.ssh`. Seit Windows 10 + irgendein patchlevel hat Microsoft den `Administator` Account auf `inaktiv` gestellt - deshalb funktioniert ein Einloggen mit dem nicht mehr. Stattdessen muss man einen aktiven Account des Windows verwenden. Der kann widerum Leerzeichen enthalten, wenn bei der Neuanlage diese Abhängigkeit noch nicht klar war.

```console
# Get the public key file generated previously on your client
Expand All @@ -79,6 +79,14 @@ $remotePowershell = "powershell Add-Content -Force -Path $env:ProgramData\ssh\ad
# Connect to your server and run the PowerShell using the $remotePowerShell variable
ssh username@[email protected] $remotePowershell
```
also mit dem User dann:
```
ssh kris@windowsmoehre
```
oder
```
ssh joe\ user@windowsmoehre
```

# Localization

Expand Down