質問編集履歴

5

l

2018/10/22 13:21

投稿

gomenne
gomenne

スコア16

test CHANGED
File without changes
test CHANGED
File without changes

4

s

2018/10/22 13:21

投稿

gomenne
gomenne

スコア16

test CHANGED
@@ -1 +1 @@
1
- 突然ssh接続できなくなった!
1
+ 突然ssh接続できなくなった!なぜ?
test CHANGED
File without changes

3

k

2018/10/22 13:07

投稿

gomenne
gomenne

スコア16

test CHANGED
File without changes
test CHANGED
@@ -93,3 +93,87 @@
93
93
  11
94
94
 
95
95
  ```
96
+
97
+
98
+
99
+
100
+
101
+ `vagrant global-status`
102
+
103
+ `ssh -vvv vagrant@192.168.33.10`
104
+
105
+
106
+
107
+ ```
108
+
109
+ ~/vagrant/sample
110
+
111
+ ❯ vagrant global-status
112
+
113
+ id name provider state directory
114
+
115
+ -------------------------------------------------------------------------
116
+
117
+ 34eb7b1 default virtualbox poweroff /Users/wataruarata/vagrant/centos
118
+
119
+ bfb68ba default virtualbox poweroff /Users/wataruarata/vagrant/Genevs
120
+
121
+ 029b021 default virtualbox running /Users/wataruarata/vagrant/sample
122
+
123
+ 911fab2 default virtualbox poweroff /Users/wataruarata/vagrant/Docker
124
+
125
+
126
+
127
+ The above shows information about all known Vagrant environments
128
+
129
+ on this machine. This data is cached and may not be completely
130
+
131
+ up-to-date (use "vagrant global-status --prune" to prune invalid
132
+
133
+ entries). To interact with any of the machines, you can go to that
134
+
135
+ directory and run Vagrant, or you can use the ID directly with
136
+
137
+ Vagrant commands from any directory. For example:
138
+
139
+ "vagrant destroy 1a2b3c4d"
140
+
141
+
142
+
143
+ ~/vagrant/sample
144
+
145
+ ❯ ssh -vvv vagrant@192.168.33.10
146
+
147
+ OpenSSH_7.7p1, LibreSSL 2.7.3
148
+
149
+ debug1: Reading configuration data /Users/wataruarata/.ssh/config
150
+
151
+ debug1: /Users/wataruarata/.ssh/config line 1: Applying options for 192.168.33.10
152
+
153
+ debug1: Reading configuration data /etc/ssh/ssh_config
154
+
155
+ debug1: /etc/ssh/ssh_config line 48: Applying options for *
156
+
157
+ debug2: resolve_canonicalize: hostname 127.0.0.1 is address
158
+
159
+ debug2: ssh_connect_direct: needpriv 0
160
+
161
+ debug1: Connecting to 127.0.0.1 [127.0.0.1] port 2222.
162
+
163
+ debug1: Connection established.
164
+
165
+ debug1: key_load_public: No such file or directory
166
+
167
+ debug1: identity file /Users/wataruarata/vagrant/centos/.vagrant/machines/default/virtualbox/private_key type -1
168
+
169
+ debug1: key_load_public: No such file or directory
170
+
171
+ debug1: identity file /Users/wataruarata/vagrant/centos/.vagrant/machines/default/virtualbox/private_key-cert type -1
172
+
173
+ debug1: Local version string SSH-2.0-OpenSSH_7.7
174
+
175
+ ssh_exchange_identification: read: Connection reset by peer
176
+
177
+
178
+
179
+ ```

2

m

2018/10/22 12:33

投稿

gomenne
gomenne

スコア16

test CHANGED
File without changes
test CHANGED
@@ -57,3 +57,39 @@
57
57
 
58
58
 
59
59
  ```
60
+
61
+
62
+
63
+ #追加情報
64
+
65
+ /Users/wataruarata/.ssh/config の中身
66
+
67
+
68
+
69
+ ```
70
+
71
+ ❯ cat /Users/wataruarata/.ssh/config
72
+
73
+ 1 Host 192.168.33.10
74
+
75
+ 2 HostName 127.0.0.1
76
+
77
+ 3 User vagrant
78
+
79
+ 4 Port 2222
80
+
81
+ 5 UserKnownHostsFile /dev/null
82
+
83
+ 6 StrictHostKeyChecking no
84
+
85
+ 7 PasswordAuthentication no
86
+
87
+ 8 IdentityFile /Users/wataruarata/vagrant/centos/.vagrant/machines/default/virtualbox/private_key
88
+
89
+ 9 IdentitiesOnly yes
90
+
91
+ 10 LogLevel FATAL
92
+
93
+ 11
94
+
95
+ ```

1

g

2018/10/22 10:21

投稿

gomenne
gomenne

スコア16

test CHANGED
File without changes
test CHANGED
File without changes