In Azure when using a Application Service on Linux (Node) there is a menu on top of Kudu: Debug console. "Debug console" has to choices: Bash and SSH.
What is the difference between them?
It looks like they follow to different environments.
In Azure when using a Application Service on Linux (Node) there is a menu on top of Kudu: Debug console. "Debug console" has to choices: Bash and SSH.
What is the difference between them?
It looks like they follow to different environments.
Bash is a popular text-based shell and command-language. It is the default shell included within Ubuntu and other Linux distros, and in macOS. Users type commands into a shell to execute scripts and/or run commands and tools to accomplish many tasks.
You can use bash scripts for your deployment. Note that on Linux, bash scripts must have Unix-style (LF) line endings.
You can check the Git example for your reference.
If you use the Bash console in Advanced Tools (Kudu) to look at environment variables, you won't see environment variables that you set using App Settings. That's because the Bash console runs in a separate context from your Web App. In order to see your environment variables, use SSH to access your container.
Secure Shell (SSH) is commonly used to execute administrative commands remotely from a command-line terminal. App Service on Linux provides SSH support into the app container with each of the built-in Docker images used for the Runtime Stack of new web apps. Whether you're a Windows user, a macOS user, or a Linux user, you can easily SSH into your Web App by accessing Kudu -> Debug Console -> SSH
You may want to check the documentations Web Apps and SSH and Things You Should Know: Web Apps and Linux for more details.
Hope this helps.