【 Cloud 】透過 PowerShell 登入到 Azure VM

【 Cloud 】透過 PowerShell 登入到 Azure VM

內容

  • 學習目標
  • 前置準備作業
  • 透過 Windows PowerShell 登入到 Azure VM

學習目標

  • 如何透過 Windows PowerShell 登入到 Azure VM

前置準備作業

  • 已建立 Azure Ubuntu VM

透過 Windows PowerShell 登入到 Azure VM

Step 1. 開啟 PowerShell

  • 點選左下角的 Windows 符號 ➙ Windows PowerShell 功能清單中 ➙ Windows PowerShell 程式

    ----1

  • Windows PowerShell 開啟後的畫面

    ---1


Step 2. 取得 Azure VM IP


Step 3. 透過 PowerShell 登入到 Azure VM

  • 請在 PowerShell 輸入下方指令

    • 請將下方的 ACCOUNT 修改成 Azure VM 的登入帳號
    • 請將下方的 Public-IP-address 修改成 Step 2 所取得的資料
    ssh ACCOUNT@Public-IP-address  
  • 點選 yes

    ----3

  • 輸入在 Azure VM 所建立的密碼

    ----4

  • 登入成功

    ----5


GitHub
List of blogs