Created
February 5, 2026 22:45
-
-
Save oeo/92b7e966532ac3ff0100eefc7cce6ee6 to your computer and use it in GitHub Desktop.
Reset WSL password for taky user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Reset WSL password for taky user | |
| # Run this in PowerShell (as Administrator) | |
| Write-Host "Resetting password for taky user..." -ForegroundColor Cyan | |
| wsl bash -c @' | |
| echo "taky:oijoij" | sudo chpasswd | |
| if [ $? -eq 0 ]; then | |
| echo "✓ Password for taky set to: oijoij" | |
| else | |
| echo "✗ Failed to set password" | |
| fi | |
| '@ | |
| Write-Host "" | |
| Write-Host "Testing SSH connection..." -ForegroundColor Yellow | |
| Write-Host "Password is: oijoij" -ForegroundColor White | |
| Write-Host "" | |
| ssh -p 2222 taky@localhost "echo '✓ SSH login successful!' && whoami" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment