<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Zsh on 얼쑤 · Team Edo</title><link>https://team-edo.github.io/tags/zsh/</link><description>Recent content in Zsh on 얼쑤 · Team Edo</description><generator>Hugo</generator><language>ko-kr</language><lastBuildDate>Thu, 29 Oct 2026 00:00:00 +0900</lastBuildDate><atom:link href="https://team-edo.github.io/tags/zsh/index.xml" rel="self" type="application/rss+xml"/><item><title>원격 명령은 어디서 막혔을까</title><link>https://team-edo.github.io/posts/2026/10/trace-shell-and-ssh-command-failures/</link><pubDate>Thu, 29 Oct 2026 00:00:00 +0900</pubDate><guid>https://team-edo.github.io/posts/2026/10/trace-shell-and-ssh-command-failures/</guid><description>&lt;p>운영 기록을 읽으려던 명령이 실패하면 먼저 원격 서버 상태를 의심하기 쉽습니다. 세 번의 실패를 다시 보니 Git에 인수를 넘기기 전, SSH에 인수를 넘기는 순간, SSH가 원격 명령을 시작하기 전이라는 서로 다른 위치에서 막혔습니다.&lt;/p>
&lt;h2 id="zsh가-만든-인수를-먼저-본다">zsh가 만든 인수 확인&lt;/h2>
&lt;p>첫 사례에서는 변수에 든 Git ref 뒤에 콜론과 경로를 바로 붙였습니다. zsh에서 뒤 문자열이 &lt;code>:a&lt;/code>로 시작하면 변수 확장의 경로 수정자로 읽힐 수 있습니다. &lt;code>git show &amp;quot;${ref}:archive/report.txt&amp;quot;&lt;/code>처럼 중괄호로 변수 이름을 닫으면 콜론은 Git이 받는 문자열에 그대로 남습니다. &lt;a href="https://zsh.sourceforge.io/Doc/Release/Expansion.html">zsh 확장 문서&lt;/a>&lt;/p></description></item></channel></rss>