![SSH localhost가 간헐적으로 예측할 수 없는 동작을 반환합니다.](https://linux55.com/image/179451/SSH%20localhost%EA%B0%80%20%EA%B0%84%ED%97%90%EC%A0%81%EC%9C%BC%EB%A1%9C%20%EC%98%88%EC%B8%A1%ED%95%A0%20%EC%88%98%20%EC%97%86%EB%8A%94%20%EB%8F%99%EC%9E%91%EC%9D%84%20%EB%B0%98%ED%99%98%ED%95%A9%EB%8B%88%EB%8B%A4..png)
다음 명령을 여러 번 실행했습니다.
ssh -vvv localhost 'echo hello'
그러나 예측할 수 없는 결과가 반환됩니다.
때로는 아주 잘 작동합니다. 때로는 다음과 같은 오류가 발생합니다.
2020-08-31 00:30:08 debug(1) pid=10607 Connecting to localhost [127.0.0.1] port 22 address family IPv4.
2020-08-31 00:30:08 debug(2) pid=10607 HPN: is disable. Not setting SO_RCVBUF.
2020-08-31 00:30:08 debug(2) category(Network) pid=10607 fd 3 setting O_NONBLOCK
2020-08-31 00:30:08 debug(1) pid=10607 connect to address 127.0.0.1 port 22: Connection refused
2020-08-31 00:30:08 debug(1) pid=10607 ssh_connect: Skipping non-IPV4 address, because addressFamily is configured for IPV4 only.
Failed to connect to host localhost port 22: Connection refused
어떤 도움이나 설명이라도 주시면 감사하겠습니다. 미리 감사드립니다.