
상자에 로그인할 때마다
_start_agent:18: command not found: ssh-agent
이 문제를 어떻게 해결할 수 있나요?
답변1
~/.zshrc
제 경우에는 Chezmoi 배포판을 사용하여 ohmyzsh로 구성된 도트파일 때문에 오류가 발생했는데 ,
plugins=(ssh-agent)
ssh-agent를 설치하지 않고 ohmyzsh의 ssh-agent 플러그인을 실행하려고 하면 다소 모호한 오류가 발생합니다.
컨테이너에서 이를 실행하는 경우에도 이러한 오류가 나타날 수 있습니다.
_start_agent:18: no such file or directory: /root/.ssh/environment-8c5f0414d6b3
chmod: /root/.ssh/environment-8c5f0414d6b3: No such file or directory
_start_agent:.:20: no such file or directory: /root/.ssh/environment-8c5f0414d6b3
그렇다면 볼 수 있겠지여기서 해결하는 방법