質問編集履歴

4

追記

2016/08/29 14:07

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -38,4 +38,4 @@
38
38
 
39
39
 
40
40
 
41
- Connection to ec2-54-244-xxx-xxx.us-east-1.compute.amazonaws.com closed.
41
+ > Connection to ec2-54-244-xxx-xxx.us-east-1.compute.amazonaws.com closed.

3

追記

2016/08/29 14:07

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -29,3 +29,13 @@
29
29
 
30
30
 
31
31
  べつのpemファイルを作って落として使うと、Permission denied(public key)となってしまいました。
32
+
33
+
34
+
35
+ > [root@localhost home]# ssh -i ec2hogehoge.pem ec2-54-244-xxx-xxx.us-east-1.compute.amazonaws.com
36
+
37
+ Please login as the user "ec2-user" rather than the user "root".
38
+
39
+
40
+
41
+ Connection to ec2-54-244-xxx-xxx.us-east-1.compute.amazonaws.com closed.

2

変更

2016/08/29 14:06

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -25,3 +25,7 @@
25
25
 
26
26
 
27
27
  ~/.ssh上にpemファイルを置いて試してみましたが、やはりNGでした。
28
+
29
+
30
+
31
+ べつのpemファイルを作って落として使うと、Permission denied(public key)となってしまいました。

1

変更

2016/08/29 13:24

投稿

imamoto_browser
imamoto_browser

スコア1161

test CHANGED
File without changes
test CHANGED
@@ -13,3 +13,15 @@
13
13
 
14
14
 
15
15
  お知恵をお借りできますでしょうか。
16
+
17
+
18
+
19
+ 【やってみたこと】
20
+
21
+ 以前ダウンロードしたpemファイルを/homeディレクトリに置いて、
22
+
23
+ > ssh -i "ec2hogehoge.pem" ec2-54-244-xxx-xxx.us-east-1.compute.amazonaws.com
24
+
25
+
26
+
27
+ ~/.ssh上にpemファイルを置いて試してみましたが、やはりNGでした。