@Tony ,
In your dockerfile, I don't see where you copied your ssh_setup.sh
script file. You're copying the existing (base image) file to /tmp
. You create this file and copy it during docker build.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Posting on behalf of a customer who keeps experiencing errors when trying to post.*
I have issues getting SSH to work in my App-service.
I've followed this tutorial:
https://learn.microsoft.com/en-us/azure/app-service/configure-custom-container?pivots=container-linux#enable-ssh
Unable to post details of the docker file and ssh config as I keep getting an error. Full details can be found here though:
https://gist.github.com/allinws/2a0f9eb5bcba8fe877a09441197a613a
resulting logstream
2022-11-29T14:09:53.619211457Z Starting ssh
2022-11-29T14:09:53.629362955Z Started ssh
2022-11-29T14:09:53.629389255Z Starting gunicorn
2022-11-29T14:09:53.629412756Z sshd: no hostkeys available -- exiting.
2022-11-29T14:09:53.901363055Z [2022-11-29 14:09:53 +0000] [7] [INFO] Starting gunicorn 20.1.0
2022-11-29T14:09:53.901392755Z [2022-11-29 14:09:53 +0000] [7] [INFO] Listening at: http://0.0.0.0:8000 (7)
2022-11-29T14:09:53.905616438Z [2022-11-29 14:09:53 +0000] [7] [INFO] Using worker: sync
2022-11-29T14:09:53.913574393Z [2022-11-29 14:09:53 +0000] [9] [INFO] Booting worker with pid: 9
@Tony ,
In your dockerfile, I don't see where you copied your ssh_setup.sh
script file. You're copying the existing (base image) file to /tmp
. You create this file and copy it during docker build.