SSH 키를 사용하여 일반적으로 digitalocean의 웹사이트에 연결했는데 정상적으로 작동했습니다. 현재 연결을 시도하고 있는데 갑자기 다음 메시지가 계속 표시됩니다 ssh_exchange_identification: read: Operation timed out
.
ssh 명령을 다시 실행해 보았고 -vvv
다음과 같은 결과를 얻었습니다.
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug1: /etc/ssh/ssh_config line 102: Applying options for *
debug1: Connecting to ip [ip] port 22.
debug1: Connection established.
debug1: identity file /Users/safwany/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/safwany/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/safwany/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/safwany/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/safwany/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/safwany/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/safwany/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/safwany/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
ssh_exchange_identification: read: Operation timed out
이런 유형의 오류가 발생하는 원인과 해결 방법을 아시나요?
업데이트: 이것을 실행 ls -al ~/.ssh
하고 다음을 얻었습니다.
total 160
drwx------ 15 safwany staff 510 Jul 12 23:52 .
drwx------+ 109 safwany staff 3706 Jul 13 00:02 ..
-rwx------ 1 safwany staff 2437 Jul 13 00:02 authorized_keys
-rw------- 1 safwany staff 1679 Mar 17 2015 digitalocean
-rw-r--r-- 1 safwany staff 413 Mar 17 2015 digitalocean.pub
-rw------- 1 safwany staff 1679 Mar 4 2015 fortrabbit
-rw-r--r-- 1 safwany staff 413 Mar 4 2015 fortrabbit.pub
-rwx------ 1 safwany staff 1766 Nov 21 2014 github_rsa
-rwx------ 1 safwany staff 404 Nov 21 2014 github_rsa.pub
-rw------- 1 safwany staff 1675 Jul 1 2015 id_boot2docker
-rw-r--r-- 1 safwany staff 413 Jul 1 2015 id_boot2docker.pub
-rw------- 1 safwany staff 1675 Nov 23 2014 id_rsa
-rw------- 1 safwany staff 381 Jul 12 23:16 id_rsa.pub
-rw------- 1 safwany staff 17736 Jul 10 17:11 known_hosts
-rw------- 1 safwany staff 15268 Feb 21 22:44 known_hosts.old