Skip to content

Instantly share code, notes, and snippets.

import os
import requests
import argparse
import json
from datetime import datetime, timedelta
from plexapi.server import PlexServer
import urllib3
from urllib3.exceptions import InsecureRequestWarning
# Suppress the InsecureRequestWarning
@simkin
simkin / FixSSH.ps1
Last active January 13, 2026 17:51
Fix issues with persistent SSH key password propmt
# Run this script as Administrator
# 1. Setup variables
$userName = $env:USERNAME
$sshPath = "$env:USERPROFILE\.ssh"
$configFile = "$sshPath\config"
Write-Host "Starting SSH environment repair for $userName..." -ForegroundColor Cyan
# 2. Fix ssh-agent service status