@Anh Vo Thanks for reaching out. I'm afraid you cannot establish an SSH connection with your container skipping authentication.
For Linux containers in Azure App Service, SSH support is restricted to the following options as of today:
- Open SSH session in browser via
https://<app-name>.scm.azurewebsites.net/webssh/host
or run theaz webapp ssh
command - Open SSH session from remote shell (Preview) using TCP tunneling
And for both of the above, you're required to authenticate with your Azure subscription to connect. Once authenticated, you can run commands inside your container as usual.
However, post authentication, if you open a remote connection to your app using the az webapp remote-connection create
command, you can open an SSH session with your container with the SSH client of your choice (PuTTY, cmd etc.) to 127.0.0.1
and the <port>
displayed in the command output.
Hope this helps. Do let us know if you have further questions.
----------
If an answer is helpful, please "Accept answer" and/or "Up-Vote" which might help other community members reading this thread.