VastAI.attach_ssh(instance_id: int, ssh_key: str) -> str
str
from vastai import VastAI client = VastAI(api_key="YOUR_API_KEY") result = client.attach_ssh(instance_id=12345, ssh_key="...") print(result)