What's the right procedure for creating custom template images
I'm tyring to make my custom dockerfiles work with runpod. I've installed
nginx
and openssh-server
as they are requirements listed in the github repo. I also copied over
- start.sh
from here and added that as the CMD in my custom dockerfile
- nginx.conf
from here to /etc/nginx/nginx.conf as in the official dockerfiles
start.sh
seems to be running properly and my public key is in ~/.ssh/authorized_keys
. But,
- SSH over TCP option is not showing up
- When I try running ssh [email protected]
it says Permission denied (publickey).
Web terminal is working fine, but I couldn't connect to it using SSH. Please, can someone here help me with this?GitHub
containers/container-template/start.sh at main · runpod/containers
🐳 | Dockerfiles for the RunPod container images used for our official templates. - runpod/containers
GitHub
containers/container-template/proxy/nginx.conf at main · runpod/co...
🐳 | Dockerfiles for the RunPod container images used for our official templates. - runpod/containers
8 Replies
Are you using community cloud?
Check if your sdh service is running
If not put a start service for it
ssh service is running fine when I check via web terminal. I checked using service ssh status, but it is still not letting me connect and the web UI is not showing ssh over TCP option
@riverfog7 I'm on secure cloud. Is there a big difference on how we connect on secure Vs community cloud?
I also tried community cloud and am facing the same issue
On some community clouds tcp ports are not availiable

You need to edit the pod, add port 22 to tcp (beside http ports)
Ah! Adding 22 worked, thanks!
your welcome