Open cblmemo opened 3 months ago
I also need help with connecting to pods. Connecting via "Basic SSH Terminal" works, but "SSH over exposed TCP" doesn't. I checked the ~/.ssh/authorized_keys
file on the pod, and it matches the public key corresponding to the private key I'm using while SSHing. The error I receive is
ssh: connect to host 213.173.108.100 port 12157: Connection refused
Describe the bug The ports exposed through TCP Public IP cannot be accessed inside pods within same region.
To Reproduce
def create(name: str, region: str): with open(os.path.expanduser('~/.ssh/id_rsa.pub'), 'r', encoding='utf-8') as f: public_key = f.read().strip() setup_cmd = (
Setting up SSH here
rp1_id = create("rp1", "CA") rp2_id = create("rp2", "CA")
print(f"rp1_id = '{rp1_id}'") print(f"rp2_id = '{rp2_id}'")
Example output:
Expected behavior The exposed endpoint is accessible from anywhere, including other pods started by runpod.
Screenshots Pls see the console logs before.
Desktop (please complete the following information):
Additional context None