LoginSignup
0
0

More than 1 year has passed since last update.

Azure App Service インスタンス に ローカルからファイル転送したい。(vscode plugin 利用時)

Posted at

deploy するソースコードとは別に、Azure App Service の インスタンス 内にファイルを送りこみたい時に使えます。

前提

手順

  • ファイルを転送する先の Azure App Service インスタンスに Vscode Plugin のメニューから SSH into Web App を実行する
  • SSH into Web App するとターミナルに ssh コマンドが表示される
  • 上記 ssh コマンドを以下の形式に加工して実行する
    • scp -c aes256-cbc -P <app_service_ssh_port> <path_to_your_file> root@127.0.0.1:/tmp
    • /tmp に <path_to_your_file> が転送される

以上です。

0
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
0
0