RunpodR
Runpod10mo ago
Stephen

How do I ssh tunnel into my runpod instance?

I have tried just testing connectivity.

I start up a normal connection using
ssh piod9abc123@ssh.runpod.io -i ~/.ssh/id_ed25519
I then start a python server to emulate ollama
python3 -m http.server 11434 --bind 0.0.0.0

On my own computer, I then run
ssh -N -L 11434:localhost:11434 piodabc123@ssh.runpod.io -i ~/.ssh/id_ed25519

Finally, on my own computer, I run
curl http://localhost:11434
curl: (56) Recv failure: Connection reset by peer

and see
channel 2: open failed: unknown channel type: unsupported channel type
show up as a message on the tunneled ssh connection. This might be a go error?

I have also opened 11434 on my runpod instance, not sure if that helped anything.
Was this page helpful?