az webapp create-remote-connection ` --resource-group xxx ` --name xxx
成功後會顯示這樣, 此時這個 terminal 不要關閉
1 2 3 4 5 6
Verifying if app is running.... App is running. Trying to establish tunnel connection... Opening tunnel on addr: 127.0.0.1 Opening tunnel on port: 56471 SSH is available { username: root, password: Docker! } Enter a full SSH session with: ssh root@127.0.0.1 -m hmac-sha1 -p 56471
🌹 ssh root@127.0.0.1 -m hmac-sha1 -p 56471 The authenticity of host '[127.0.0.1]:56471 ([127.0.0.1]:56471)' can't be established. ED25519 key fingerprint is SHA256:1234abcd. This key is not known by any other names. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '[127.0.0.1]:56471' (ED25519) to the list of known hosts. root@127.0.0.1's password: Permission denied, please try again. root@127.0.0.1's password: Last login: Fri Aug 14 16:56:17 2026 from 123.456.129.3 _____ / _ \ __________ _________ ____ / /_\ \\___ / | \_ __ \_/ __ \ / | \/ /| | /| | \/\ ___/ \____|__ /_____ \____/ |__| \___ > \/ \/ \/ A P P S E R V I C E O N L I N U X
Documentation : http://aka.ms/webapp-linux NodeJS quickstart: https://aka.ms/node-qs NodeJS Version : v24.15.0 Instance Name : 10-30-0-11 Instance Id : 1234567c5c33ddxxxxxxxxxxxx30958a08e7979805123d99794b1ec9xxx
接著可以看看網站放在哪, 探索下是放在 /home/site/wwwroot 底下
1 2 3
root@123abcdefg:/home/site/wwwroot# ls README.md example-images node_modules oryx-manifest.toml package.json server.js _del_node_modules hostingstart.html node_modules.tar.gz package-lock.json public styles.js