{"id":31626345,"url":"https://github.com/uqueno/ykn-powershell-scripts","last_synced_at":"2025-10-28T21:52:32.097Z","repository":{"id":317934875,"uuid":"1068149844","full_name":"uqueno/ykn-powershell-scripts","owner":"uqueno","description":"Curated PowerShell scripts for SSH automation, VS Code environment fixes, and MobaXterm integration—foundation for the future Ykn.SSH.Tools module.","archived":false,"fork":false,"pushed_at":"2025-10-03T23:43:06.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-04T01:20:57.337Z","etag":null,"topics":["automation","devops","documentation","mobaxterm","powershell","scripts","ssh","tooling","vscode"],"latest_commit_sha":null,"homepage":"https://github.com/uqueno/ykn-powershell-scripts","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uqueno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-01T23:45:55.000Z","updated_at":"2025-10-03T23:43:10.000Z","dependencies_parsed_at":"2025-10-09T15:00:38.199Z","dependency_job_id":null,"html_url":"https://github.com/uqueno/ykn-powershell-scripts","commit_stats":null,"previous_names":["uqueno/ykn-powershell-scripts"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/uqueno/ykn-powershell-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uqueno%2Fykn-powershell-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uqueno%2Fykn-powershell-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uqueno%2Fykn-powershell-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uqueno%2Fykn-powershell-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uqueno","download_url":"https://codeload.github.com/uqueno/ykn-powershell-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uqueno%2Fykn-powershell-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281520722,"owners_count":26515681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","devops","documentation","mobaxterm","powershell","scripts","ssh","tooling","vscode"],"created_at":"2025-10-06T19:50:51.267Z","updated_at":"2025-10-28T21:52:32.092Z","avatar_url":"https://github.com/uqueno.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ykn-powershell-scripts\n\nCollection of PowerShell scripts for SSH automation, VS Code troubleshooting, environment setup, and general workflow acceleration.\n\n\u003e NOTE: Local folder was `Scripts`. Repository name uses corrected spelling: `ykn-powershell-scripts`.\n\n## 📦 Topics / Tags\n\nAutomation, PowerShell, SSH, DevOps, VSCode, Remote-SSH, Tooling, Windows, Productivity\n\n## 📁 Contents\n\n| File | Purpose |\n|------|---------|\n| `Generate-SSHKey.ps1` | Full-featured SSH key generator with naming convention \u0026 permissions fix |\n| `Quick-SSHKey.ps1` | Minimal wrapper for fast key generation |\n| `SSH-Connection-Tester.ps1` | Interactive SSH host tester parsing `~/.ssh/config` |\n| `Advanced-SSH-Connection-Tester.ps1` | (Planned/Experimental) Extended diagnostics version |\n| `Quick-SSH-Test.ps1` | Fast single-host connectivity check |\n| `VSCode-SSH-Test-*.ps1` | Targeted VS Code SSH validation scripts |\n| `Fix-VSCode-SSH-Navigator*.ps1` | Workarounds for Remote-SSH navigator errors |\n| `Set-VSCode-PowerShell-Default.ps1` | Set PowerShell as default terminal in VS Code |\n| `Simple-PowerShell-Default.ps1` | Lightweight variant for terminal default |\n| `SSH-Connection-Tester-Documentation.md` | Full technical reference for tester script |\n| `MobaXterm-*.md` | Guides for MobaXterm integration attempts |\n| `Generate-SSHKey-README.md` | Detailed SSH key generation documentation |\n| `*.md` | Remaining documentation, troubleshooting guides, setup notes |\n\n## 🔧 Prerequisites\n\n- Windows 10/11 with PowerShell 5.1+ (PowerShell 7 supported for most scripts)\n- OpenSSH client installed (Windows optional feature)\n- VS Code (for related Remote-SSH scripts)\n\n## 🚀 Quick Start\n\n```powershell\n# Clone (after you push this repository)\ngit clone https://github.com/\u003cyour-user\u003e/ykn-powershell-scripts.git\nSet-Location ykn-powershell-scripts\n\n# List scripts\nGet-ChildItem *.ps1\n\n# Run key generator (example)\n./Generate-SSHKey.ps1 -User coolify -Host vmi2747748 -Address 77.237.241.154 -Client windows\n```\n\n## 🧪 Testing Connectivity\n\n```powershell\n# Parse ~/.ssh/config and test all hosts\n./SSH-Connection-Tester.ps1\n\n# Quick single test\n./Quick-SSH-Test.ps1 -Host coolify-contabo-n8n\n```\n\n## 🗂 Suggested Directory Layout\n\nKeep scripts directly in repo root (as currently) for simplicity. Optional future structure:\n\n```text\n/scripts\n/docs\n/modules\n/tests\n```\n\n## 🧩 Toward a Module (Overview)\n\nA future `Ykn.SSH.Tools` PowerShell module could encapsulate reusable functions:\n\n| Proposed Module Path | Purpose |\n|----------------------|---------|\n| `modules/Ykn.SSH.Tools/Ykn.SSH.Tools.psd1` | Module manifest (metadata, exported functions) |\n| `modules/Ykn.SSH.Tools/Ykn.SSH.Tools.psm1` | Implementation importing individual function files |\n| `modules/Ykn.SSH.Tools/Public/*.ps1` | Public functions (e.g., `New-YknSshKey`, `Test-YknSshHost`) |\n| `modules/Ykn.SSH.Tools/Private/*.ps1` | Internal helpers (parsing, formatting) |\n| `modules/Ykn.SSH.Tools/Format/*.ps1xml` | (Optional) Custom object views |\n| `tests/*.Tests.ps1` | Pester tests for public functions |\n\nBenefits:\n\n- Import once: `Import-Module ./modules/Ykn.SSH.Tools`\n- Clear public API \u0026 semantic versioning\n- Easier packaging (PowerShell Gallery option)\n- Centralized error handling \u0026 logging\n\nSee `MODULE-GUIDE.md` (added) for detailed steps.\n\n## ✅ Roadmap Ideas\n\n- Add Pester tests for key generator and parser functions\n- Package core functions into a module (`Ykn.SSH.Tools`)\n- Add parallel host testing + performance metrics\n- Continuous integration (GitHub Actions) for linting (PSScriptAnalyzer)\n- Optional JSON output mode for automation\n- Add module manifest \u0026 convert scripts into functions\n- Provide signed script examples (code signing)\n\n## 🧹 Code Quality\n\nRun basic linting (if PowerShell 7 installed):\n\n```powershell\npwsh -Command \"Invoke-ScriptAnalyzer -Path . -Recurse\"\n```\n\n## 📄 License\n\nMIT (see `LICENSE`)\n\n## 🙋 Support / Notes\n\nAuthor: Yukio Ueno\n\nIssues and PRs welcome. These scripts originated from iterative troubleshooting of SSH + VS Code Remote-SSH flows and are intentionally pragmatic.\n\n---\nHappy scripting! 🔧\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuqueno%2Fykn-powershell-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuqueno%2Fykn-powershell-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuqueno%2Fykn-powershell-scripts/lists"}