LoginSignup
2

More than 3 years have passed since last update.

(AWS)WinScp:ec2-user証明書で接続後にroot化したい。

Posted at

ゴール

 ec2-user証明書を使って、Windows環境から、root権限のフォルダ/ファイルにGUIでアクセスしたい。

WinScpを起動する

1.転送プロトコルを 「SCP」に変更する。

image.png

 2.[環境→SCP/シェル] シェルを 「sudo su - 」に変更する。

image.png

 3.[SSH→認証] 認証条件の秘密鍵を設定する。

image.png

 4.ec2-userで接続して /root となっていればOK!

image.png

あとがき

転送プロトコルが「SFTP」では上記手順でroot化できなかった。

以上。

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
2