Skip to content

debug: ssh-action에 임시 debug 로그 추가 - 세션 조기 종료 원인 파악용 - #456

Merged
changmin41 merged 1 commit into
developfrom
fix/deploy-ssh-debug-logging
Aug 26, 2026
Merged

changmin41 merged 1 commit into
developfrom
fix/deploy-ssh-debug-logging

Conversation

@changmin41

Copy link
Copy Markdown
Collaborator

Summary

  • docker login 직후 SSH 세션이 원인 불명으로 조기 종료되는 문제가 반복됨 (PR #453로 pty 제거해도 재발)
  • EC2 auth.log 확인 결과 세션이 열린 지 1.9초 만에 Connection closed by <GH runner IP> — 정상적인 SSH 프로토콜 disconnect 메시지(Received disconnect) 없이 끊김. 네트워크 레벨 문제로 추정
  • appleboy/ssh-action의 debug: true를 임시로 켜서 SSH 클라이언트 레벨 로그(타임아웃/keepalive/네트워크 에러 등)로 실제 원인을 확인하려 함
  • 임시 디버깅용 변경입니다. 원인 파악되면 제거할 예정.

Test plan

  • 머지 후 배포 워크플로우 실행 → 실패 시 debug 로그에서 SSH 세션 종료 원인 확인
  • 원인 파악 후 debug: true 제거하는 후속 PR

docker login 직후 SSH 세션이 원인 불명으로 끊기는 문제(연결 시작 1.9초 만에
"Connection closed by <client-ip>", 정상적인 SSH 레벨 disconnect 메시지 없음)의
실제 원인을 SSH 클라이언트 레벨 로그로 확인하기 위한 임시 변경. 원인 파악 후 제거 예정.
@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 604f4281-1876-4905-b81b-85149d57dbe1


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@changmin41
changmin41 merged commit d6a766e into develop Aug 26, 2026
2 checks passed
@changmin41
changmin41 deleted the fix/deploy-ssh-debug-logging branch August 26, 2026 03:13
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.

4 participants