Skip to content

docs(windows): SSH 키 세션 안내를 비밀번호로 시작한 프로세스로 바꾼다 - #16

Merged
AI-Dico merged 1 commit into
mainfrom
docs/windows-ssh-logon-hint
Oct 19, 2026
Merged

AI-Dico merged 1 commit into
mainfrom
docs/windows-ssh-logon-hint

Conversation

@AI-Dico

@AI-Dico AI-Dico commented Oct 19, 2026

Copy link
Copy Markdown
Member

요약

  • SSH 키 세션에서 no Credential Manager logon session 이 날 때의 안내를 바꾼다.
    • 기존: 데스크톱 세션에서 실행하거나 비밀번호로 SSH 접속
    • 변경: 데스크톱 세션, 또는 Windows 비밀번호로 시작한 프로세스(PowerShell Start-Process -Credential)에서 실행. SSH 비밀번호 로그인은 Microsoft 계정에서 거부될 수 있어 확실하지 않다고 명시
  • 대상: crates/kc-store/src/backend/keyring.rs 오류 힌트, README 8개 언어판

근거 (Windows 11, Microsoft 계정 연결 사용자, 실측)

  • SSH 키 세션: CredWrite → 1312(ERROR_NO_SUCH_LOGON_SESSION)
  • 같은 세션에서 Start-Process -Credential 로 띄운 자식의 kc doctor → 항목·기기 모두 정상
  • sshd 비밀번호 인증: 같은 비밀번호로 LogonUserW(type 2/4/8)는 성공하는데 sshd 는 0xC000006A 로 거부
  • LogonUserW 후 가장(ImpersonateLoggedOnUser)으로는 여전히 1312 — 그래서 "새 프로세스"로 안내

검증

  • cargo build -p kc-store, cargo test -p kc-store 통과
  • cargo check -p kc-store --target x86_64-pc-windows-msvc 통과(힌트 상수는 Windows 전용 코드)

🤖 Generated with Claude Code

https://claude.ai/code/session_018mXEnCmZq9pJDC84dnrvcD

SSH 키 세션에서 Credential Manager 가 없을 때의 안내가 "비밀번호로 SSH
접속"을 권했는데, Microsoft 계정에서는 비밀번호가 맞아도 sshd 가
거부했다(0xC000006A). 대신 Windows 비밀번호로 시작한 프로세스
(Start-Process -Credential)에서 실행하라고 안내한다. 이 경로는 SSH 키
세션에서 kc doctor 가 항목·기기 모두 정상으로 나오는 것을 실측했다.
오류 힌트와 README 8개 언어판을 함께 고친다.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018mXEnCmZq9pJDC84dnrvcD
@AI-Dico
AI-Dico merged commit 9ce9fa9 into main Oct 19, 2026
6 checks passed
@AI-Dico
AI-Dico deleted the docs/windows-ssh-logon-hint branch October 19, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant