Transfering a file from Local Machine to an EC2 instance without Key Pair

0

I need to transfer a file from my local machine to an EC2 instance. I don't have the key pair. I normally get into the ec2 instance via SSM Manager. Now, I need to move a file from my local machine into the EC2 instance with scp command. The scp requires key pair name to send to file to the ec2 instance, so the command fails. Is there anything else I can do to move the file without the key? Any recommendation to fix this will be highly appreciated.

質問済み 5ヶ月前333ビュー
2回答
0
承認された回答

Hello.

Isn't it okay to upload local files to S3 and download the S3 files from EC2?

profile picture
エキスパート
回答済み 5ヶ月前
profile pictureAWS
エキスパート
レビュー済み 5ヶ月前
0

Thanks so much. It worked for me

回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ