#When creating pod via Runpod API. How to set it should have SSH over TCP exposed ?
9 messages · Page 1 of 1 (latest)
SET:
ports: ["22/tcp", ...] supportPublicIp: true (if using Community Cloud)
also check .. https://docs.runpod.io/api-reference/pods/POST/pods
so your example JSON payload would be ..
{ "name": "TESTPOD", "imageName": "runpod/pytorch:1.0.2-cu1281-torch280-ubuntu2404", "gpuTypeId": "NVIDIA GeForce RTX 5090", "volumeInGb": 30, "containerDiskInGb": 50, "networkVolumeId": "xxxxx", "ports": ["22/tcp"], "supportPublicIp": true }
let me know if you need help with python SDK wrapper
but i am sure you can take it from here