1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

.pemを使ってWinSCPにec2-userでログインとファイル取得

Last updated at Posted at 2025-05-16

WinSCP を起動 → [新しいセッション]

下記を入力
項目 内容
ファイルプロトコル SFTP(または SCP)
ホスト名
ポート番号 22
ユーザー名 ec2-user(Amazon Linux)

「詳細設定」→ 左のメニューから SSH > 認証 を選ぶ

「秘密鍵ファイル」欄に .pem ファイルを直接指定(変換をかける)

/home/ec2-user/workにフォルダを作成。ファイルはここにコピーして取得。
フォルダとファイル権限はec2-user usersで。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?