Hi Jeramie Rentfrow,
Thank you for reaching out to us on the Microsoft Q&A forum.
Apologies for the inconvenience. Let's address your issue step by step:
- Public Address Observation: After completing step 1, you should see a public address similar to this: 40.112.149.7, confirming that the first step was successful.
- Proceed to Step 2: Next, copy the public IP address and move on to step 2.
- SSH Command Execution: After completing step 2, enter the following command in your terminal or command prompt:
ssh azureuser@<VM public IP address>
(e.g.,ssh azureuser@40.112.149.7
). When prompted with a message asking if you want to continue connecting, type "yes" (without quotes) and press Enter to proceed.
Cloud Shell Commands: Once connected via SSH, run the following commands sequentially in your cloud shell:
- sudo apt-get update
- sudo apt-get install -y nginx
- echo "<html><body><h2>Welcome to Azure! My name is $(hostname).</h2></body></html>" | sudo tee -a /var/www/html/index.html
After running the commands, see if the issue persists. If you encounter any difficulties, please share the specific error message or behavior. I’m here to help and can offer additional troubleshooting or resources if needed.
If you found the information helpful, we would greatly appreciate it if you could acknowledge it by selecting the Accept Answer & Upvote options.