Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install SSH in app service container

I need to login to a linux container hosted in an app service via SSH (the image doesn't have it installed) in order to copy some files. Is there a way to do this via the portal? I'd like to avoid extending the image if possible. I tried fiddling with the startup command available in the UI with no luck.

Thanks!

like image 567
Gonzalo Avatar asked Oct 30 '25 11:10

Gonzalo


1 Answers

For the Web App, SSH is supported, but you need to configure the SSH yourself when you use the custom image. Only the built-in images which Azure Web App provided can use the SSH directly without configuring yourself. When you use the built-in image, you can go into the Kudu and the SSH is already configured there.

enter image description here enter image description here

like image 121
Charles Xu Avatar answered Nov 02 '25 22:11

Charles Xu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!