SSH connection issue
anyone else have problems connecting to pods with SSH currently via TCP? i'm getting connection refused every time. connecting with ssh.runpod.io works though.
i never had this issue before and tried via different networks already
24 Replies
Are you connecting to the correct port?
yes.. copy pasted from the dialog
Port forwarding on the host machine must be broken, if you post the pod id, maybe @Papa Madiator can get someone to look into it.
or the ssh server is not running on template you are using
Oh yes good point
some community servers might not have ssh server preinstalled
no it's the default pytorch template that i've always been using so ssh is installed. again connecting via the proxy works but not via IP directly
pod id?
i tried multiple pods and couldn't connect, but the pod id here: koplimu3sq54is
thanks
and what command you get and error?
here. first cmd works 2nd doesn't
That looks like port forwarding is broken like my initial gut instinct.
try use normal termian and install
pip install OhMyRunPod
then run
OhMyRunPod --setup_ssh
done but still can't connect
what was output of command
i'd use the basic terminal but VSCode remote only works with the IP
most likely yeah. i can ping the machine but that's it
oh I see ssh service not starts cause no keys are there
run this command on pod
then
@Nucleus that should fix ssh
yeah that did it lol
Thats odd, why would there be no host keys? something wrong with the template?
something could fail when injecting ssh keys
yeah this is weird. i've used this same template multiple times and this is the first time it's breaking
okay i just made a new pod with runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04 and it works straight away
the broken one may be runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel-ubuntu22.04
thx anyway
np
Hi, I am getting an issue where I have registered my public key with the setting console but still the SSH terminal asks me for a password while trying to SSH, which is not the same as the password for my public private key pair
anyone has any idea what is going on?
What is the default password for the pods?
for SSH
There is no default password for pod, but if you're interested in using generated password try the package ...
pip install OhMyRunPod
OhMyRunPod --setup-ssh
btw key only works with runpod templates