TheImam
SSH Connection Refused
I'm using template
runpod/pytorch:2.2.0-py3.10-cuda12.1.1-devel-ubuntu22.04
with 6xH100s. I added my public key to
bash -c 'apt update;DEBIAN_FRONTEND=noninteractive apt-get install openssh-server -y;mkdir -p ~/.ssh;cd $_;chmod 700 ~/.ssh;echo "$PUBLIC_KEY" >> authorized_keys;chmod 700 authorized_keys;service ssh start;sleep infinity'
(of course replaced $PUBLIC_KEY
with mine) and logged into the machine using the web terminal and checked that the authentication_key is correct. Yet I get connection refused when trying to connect. This is not the first runpod I set up (I did A100s and A40s before and both worked fine but first time for H100s).
Any guidance on how to solve this issue?13 replies