質問編集履歴
2
設定ファイルの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -232,6 +232,20 @@
|
|
232
232
|
|
233
233
|
```
|
234
234
|
|
235
|
+
- config/deploy/production.rb
|
236
|
+
|
237
|
+
```
|
238
|
+
|
239
|
+
server '46.51.231.102', user: 'ec2-user', roles: %w{app db web}
|
240
|
+
|
241
|
+
set :ssh_options, {
|
242
|
+
|
243
|
+
keys: [File.expand_path('~/.ssh/fuuunramen.pem)')]
|
244
|
+
|
245
|
+
}
|
246
|
+
|
247
|
+
```
|
248
|
+
|
235
249
|
|
236
250
|
|
237
251
|
# 試したこと
|
1
検証した内容の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -244,7 +244,7 @@
|
|
244
244
|
|
245
245
|
```
|
246
246
|
|
247
|
-
ssh-add ~/.ssh/fuuunramen.pem
|
247
|
+
% ssh-add ~/.ssh/fuuunramen.pem
|
248
248
|
|
249
249
|
Identity added: /Users/kobayashitaku/.ssh/fuuunramen.pem (/Users/kobayashitaku/.ssh/fuuunramen.pem)
|
250
250
|
|
@@ -252,6 +252,22 @@
|
|
252
252
|
|
253
253
|
|
254
254
|
|
255
|
+
```
|
256
|
+
|
257
|
+
% docker-compose run web bundle exec ssh-add ~/.ssh/fuuunramen.pem
|
258
|
+
|
259
|
+
Starting fuuun_ramen_db_1 ... done
|
260
|
+
|
261
|
+
Creating fuuun_ramen_web_run ... done
|
262
|
+
|
263
|
+
Could not open a connection to your authentication agent.
|
264
|
+
|
265
|
+
```
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
255
271
|
|
256
272
|
|
257
273
|
基本的なインフラ関連の知識や理解が不足しており、確認すべき箇所を掴めずにおります。
|