auth

Manage SSH authentication with key-first access and Windows permission repair.

46|7|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/sunyonghuan/Netor.Madorin --skill auth-sunyonghuan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth
Source: https://github.com/sunyonghuan/Netor.Madorin/tree/main/skills/server-maintainer/subskills/auth
Command: npx skills add https://github.com/sunyonghuan/Netor.Madorin --skill auth-sunyonghuan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill prevents unsafe and inconsistent server sign-in handling by making SSH key-based access the default, controlling when password fallback is allowed, and repairing key permission issues before connection attempts continue.

Core Features & Use Cases

  • Key-First Connection Logic: Detects existing server keys and blocks unnecessary password prompts on repeated access.
  • Key Initialization: Sets up SSH keys for first-time server onboarding when no local key material is present.
  • Permission Repair: Fixes Windows private-key permission problems so authentication can proceed safely.
  • Use Case: A server maintainer can use this Skill to standardize access for new hosts, recover broken key permissions, and keep credentials out of logs and scripts.

Quick Start

Ask this skill to determine the correct SSH authentication path for a server, initialize keys if needed, and fix Windows private-key permissions before any password fallback is considered.

Frequently Asked Questions about auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up SSH key authentication for a new server onboarding?

To set up SSH key authentication, the system detects absent local keys and initializes the required key material for first-time server onboarding. This key-first approach establishes secure access without relying on passwords.

Why does SSH keep asking for a password when I have a private key?

SSH may keep asking for a password if existing server keys are not detected or unnecessary password prompts are not blocked. The key-first connection logic prevents this by enforcing key-based access on repeated server maintenance connections.

How do I fix Windows private key permission problems for SSH?

Fixing Windows private key permission problems involves repairing the unsafe key permissions before attempting a connection. This permission repair allows SSH authentication to proceed safely without falling back to passwords.

Can I use PowerShell scripts to manage SSH server access?

You can use PowerShell-based scripts to manage SSH server access by determining the correct authentication path. The scripts require existing server key paths and enforce strict rules that keep passwords out of files and command arguments.

When should I allow password fallback for SSH server maintenance?

Password fallback for SSH server maintenance should only be considered after key-first access fails and private key permissions are repaired. This approach prevents unsafe password reuse and keeps credentials entirely out of logs.