[{"data":1,"prerenderedAt":629},["ShallowReactive",2],{"navigation_docs":3,"-compute-virtual-machines-connect-with-ssh":212,"-compute-virtual-machines-connect-with-ssh-surround":624},[4,21,89,125,152,183,202,207],{"title":5,"collapsed":6,"path":7,"stem":8,"children":9,"page":20},"Getting Started",true,"/getting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","/getting-started/introduction","1.getting-started/introduction","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"Service Tiers","/getting-started/service-tiers","1.getting-started/service-tiers","i-lucide-layers",false,{"title":22,"collapsed":6,"path":23,"stem":24,"children":25,"page":20},"Containers","/containers","2.containers",[26,56],{"title":27,"path":28,"stem":29,"children":30,"page":20},"Kubernetes","/containers/kubernetes","2.containers/1.kubernetes",[31,36,41,46,51],{"title":32,"path":33,"stem":34,"icon":35},"Overview","/containers/kubernetes/overview","2.containers/1.kubernetes/1.overview","i-lucide-box",{"title":37,"path":38,"stem":39,"icon":40},"Create a Cluster","/containers/kubernetes/create-cluster","2.containers/1.kubernetes/2.create-cluster","i-lucide-plus-circle",{"title":42,"path":43,"stem":44,"icon":45},"Connect to Your Cluster","/containers/kubernetes/connect-cluster","2.containers/1.kubernetes/3.connect-cluster","i-lucide-link",{"title":47,"path":48,"stem":49,"icon":50},"Node Groups","/containers/kubernetes/node-groups","2.containers/1.kubernetes/4.node-groups","i-lucide-server",{"title":52,"path":53,"stem":54,"icon":55},"Ingress & Domains","/containers/kubernetes/ingress-domains","2.containers/1.kubernetes/5.ingress-domains","i-lucide-globe",{"title":57,"path":58,"stem":59,"children":60,"page":20},"Container Registry","/containers/container-registry","2.containers/2.container-registry",[61,65,69,74,79,84],{"title":32,"path":62,"stem":63,"icon":64},"/containers/container-registry/overview","2.containers/2.container-registry/1.overview","i-lucide-package",{"title":66,"path":67,"stem":68,"icon":40},"Create a Registry","/containers/container-registry/create-registry","2.containers/2.container-registry/2.create-registry",{"title":70,"path":71,"stem":72,"icon":73},"Push Images to Registry","/containers/container-registry/push-images","2.containers/2.container-registry/3.push-images","i-lucide-upload",{"title":75,"path":76,"stem":77,"icon":78},"Pull Images from Registry","/containers/container-registry/pull-images","2.containers/2.container-registry/4.pull-images","i-lucide-download",{"title":80,"path":81,"stem":82,"icon":83},"Manage Repositories","/containers/container-registry/manage-repositories","2.containers/2.container-registry/5.manage-repositories","i-lucide-folder",{"title":85,"path":86,"stem":87,"icon":88},"Manage Access Credentials","/containers/container-registry/manage-credentials","2.containers/2.container-registry/6.manage-credentials","i-lucide-key",{"title":90,"collapsed":6,"path":91,"stem":92,"children":93,"page":20},"Compute","/compute","3.compute",[94],{"title":95,"path":96,"stem":97,"children":98,"page":20},"Virtual Machines","/compute/virtual-machines","3.compute/virtual-machines",[99,102,106,111,116,121],{"title":32,"path":100,"stem":101,"icon":50},"/compute/virtual-machines/overview","3.compute/virtual-machines/1.overview",{"title":103,"path":104,"stem":105,"icon":40},"Launch an Instance","/compute/virtual-machines/launch-instance","3.compute/virtual-machines/2.launch-instance",{"title":107,"path":108,"stem":109,"icon":110},"Connect with SSH","/compute/virtual-machines/connect-with-ssh","3.compute/virtual-machines/3.connect-with-ssh","i-lucide-terminal",{"title":112,"path":113,"stem":114,"icon":115},"Manage Snapshots","/compute/virtual-machines/manage-snapshots","3.compute/virtual-machines/4.manage-snapshots","i-lucide-camera",{"title":117,"path":118,"stem":119,"icon":120},"Manage Backups","/compute/virtual-machines/manage-backups","3.compute/virtual-machines/5.manage-backups","i-lucide-shield-check",{"title":122,"path":123,"stem":124,"icon":88},"Manage SSH Keys","/compute/virtual-machines/manage-ssh-keys","3.compute/virtual-machines/6.manage-ssh-keys",{"title":126,"collapsed":6,"path":127,"stem":128,"children":129,"page":20},"Databases","/databases","4.databases",[130,134,138,143,147],{"title":32,"path":131,"stem":132,"icon":133},"/databases/overview","4.databases/1.overview","i-lucide-database",{"title":135,"path":136,"stem":137,"icon":40},"Create a Database","/databases/create-database","4.databases/2.create-database",{"title":139,"path":140,"stem":141,"icon":142},"Connect to a Database","/databases/connect-database","4.databases/3.connect-database","i-lucide-plug",{"title":117,"path":144,"stem":145,"icon":146},"/databases/manage-backups","4.databases/4.manage-backups","i-lucide-history",{"title":148,"path":149,"stem":150,"icon":151},"Manage Database","/databases/manage-database","4.databases/5.manage-database","i-lucide-settings",{"title":153,"collapsed":6,"path":154,"stem":155,"children":156,"page":20},"Storage","/storage","5.storage",[157,161,166,170,174,178],{"title":32,"path":158,"stem":159,"icon":160},"/storage/overview","5.storage/1.overview","i-lucide-hard-drive",{"title":162,"path":163,"stem":164,"icon":165},"Create a Bucket","/storage/create-bucket","5.storage/2.create-bucket","i-lucide-folder-plus",{"title":167,"path":168,"stem":169,"icon":73},"Upload & Manage Objects","/storage/manage-objects","5.storage/3.manage-objects",{"title":171,"path":172,"stem":173,"icon":88},"Access Keys","/storage/access-keys","5.storage/4.access-keys",{"title":175,"path":176,"stem":177,"icon":110},"S3 API Usage","/storage/s3-api-usage","5.storage/5.s3-api-usage",{"title":179,"path":180,"stem":181,"icon":182},"Usage & Billing","/storage/usage","5.storage/6.usage","i-lucide-bar-chart",{"title":184,"collapsed":6,"path":185,"stem":186,"children":187,"page":20},"Account","/account","6.account",[188,192,197],{"title":189,"path":190,"stem":191,"icon":88},"API Keys","/account/api-keys","6.account/api-keys",{"title":193,"path":194,"stem":195,"icon":196},"Billing","/account/billing","6.account/billing","i-lucide-credit-card",{"title":198,"path":199,"stem":200,"icon":201},"Limits & Quotas","/account/limits-quotas","6.account/limits-quotas","i-lucide-gauge",{"title":203,"path":204,"stem":205,"icon":206},"FAQ","/faq","faq","i-lucide-help-circle",{"title":208,"path":209,"stem":210,"icon":211},"Support","/support","support","i-lucide-life-buoy",{"id":213,"title":107,"body":214,"description":617,"extension":618,"links":619,"meta":620,"navigation":621,"path":108,"seo":622,"stem":109,"__hash__":623},"docs/3.compute/virtual-machines/3.connect-with-ssh.md",{"type":215,"value":216,"toc":599},"minimark",[217,221,226,239,243,246,267,270,274,279,287,367,371,378,386,390,435,439,459,463,466,484,487,491,495,515,519,537,541,565,569,580,584,595],[218,219,220],"p",{},"Instances are accessed through key-based SSH authentication. This page documents connection requirements, command format, and troubleshooting expectations.",[222,223,225],"h2",{"id":224},"connection-prerequisites","Connection prerequisites",[227,228,229,233,236],"ul",{},[230,231,232],"li",{},"A running instance",[230,234,235],{},"A private key matching the public SSH key configured for that instance",[230,237,238],{},"Network access to the instance endpoint",[222,240,242],{"id":241},"connection-parameters","Connection parameters",[218,244,245],{},"Required SSH parameters:",[227,247,248,255,261],{},[230,249,250,254],{},[251,252,253],"strong",{},"Endpoint",": host or IP exposed for the instance",[230,256,257,260],{},[251,258,259],{},"Username",": image-dependent default user",[230,262,263,266],{},[251,264,265],{},"Private key path",": local key file corresponding to assigned public key",[218,268,269],{},"Instance details page provides endpoint and identity metadata required for connection validation.",[222,271,273],{"id":272},"ssh-configuration","SSH configuration",[275,276,278],"h3",{"id":277},"prerequisites","Prerequisites",[218,280,281,282,286],{},"Ensure you have ",[283,284,285],"code",{},"socat"," installed for SSH tunneling:",[288,289,294],"pre",{"className":290,"code":291,"language":292,"meta":293,"style":293},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# macOS\nbrew install socat\n\n# Ubuntu/Debian\nsudo apt-get install socat\n\n# CentOS/RHEL\nsudo yum install socat\n","bash","",[283,295,296,305,319,325,331,344,349,355],{"__ignoreMap":293},[297,298,301],"span",{"class":299,"line":300},"line",1,[297,302,304],{"class":303},"sHwdD","# macOS\n",[297,306,308,312,316],{"class":299,"line":307},2,[297,309,311],{"class":310},"sBMFI","brew",[297,313,315],{"class":314},"sfazB"," install",[297,317,318],{"class":314}," socat\n",[297,320,322],{"class":299,"line":321},3,[297,323,324],{"emptyLinePlaceholder":6},"\n",[297,326,328],{"class":299,"line":327},4,[297,329,330],{"class":303},"# Ubuntu/Debian\n",[297,332,334,337,340,342],{"class":299,"line":333},5,[297,335,336],{"class":310},"sudo",[297,338,339],{"class":314}," apt-get",[297,341,315],{"class":314},[297,343,318],{"class":314},[297,345,347],{"class":299,"line":346},6,[297,348,324],{"emptyLinePlaceholder":6},[297,350,352],{"class":299,"line":351},7,[297,353,354],{"class":303},"# CentOS/RHEL\n",[297,356,358,360,363,365],{"class":299,"line":357},8,[297,359,336],{"class":310},[297,361,362],{"class":314}," yum",[297,364,315],{"class":314},[297,366,318],{"class":314},[275,368,370],{"id":369},"ssh-config-setup","SSH config setup",[218,372,373,374,377],{},"Add the following to your ",[283,375,376],{},"~/.ssh/config"," file for easier connection management:",[288,379,384],{"className":380,"code":382,"language":383},[381],"language-text","Host dev-*\n  User root\n  ProxyCommand socat - PROXY:dev.dc2.dcptunnel.net:%h:%p,proxyport=5002\n","text",[283,385,382],{"__ignoreMap":293},[275,387,389],{"id":388},"direct-connection-command","Direct connection command",[288,391,393],{"className":290,"code":392,"language":292,"meta":293,"style":293},"ssh -i ~/.ssh/your-key.pem \u003Cusername>@\u003Cinstance-endpoint>\n",[283,394,395],{"__ignoreMap":293},[297,396,397,400,403,406,410,413,417,420,423,426,429,432],{"class":299,"line":300},[297,398,399],{"class":310},"ssh",[297,401,402],{"class":314}," -i",[297,404,405],{"class":314}," ~/.ssh/your-key.pem",[297,407,409],{"class":408},"sMK4o"," \u003C",[297,411,412],{"class":314},"usernam",[297,414,416],{"class":415},"sTEyZ","e",[297,418,419],{"class":408},">",[297,421,422],{"class":314},"@",[297,424,425],{"class":408},"\u003C",[297,427,428],{"class":314},"instance-endpoin",[297,430,431],{"class":415},"t",[297,433,434],{"class":408},">\n",[222,436,438],{"id":437},"common-image-usernames","Common image usernames",[227,440,441,447,453],{},[230,442,443,444],{},"Ubuntu: ",[283,445,446],{},"ubuntu",[230,448,449,450],{},"Debian: ",[283,451,452],{},"debian",[230,454,455,456],{},"CentOS: ",[283,457,458],{},"centos",[222,460,462],{"id":461},"session-validation","Session validation",[218,464,465],{},"After connection, validate host access with basic system queries:",[288,467,469],{"className":290,"code":468,"language":292,"meta":293,"style":293},"hostname\nuname -a\n",[283,470,471,476],{"__ignoreMap":293},[297,472,473],{"class":299,"line":300},[297,474,475],{"class":310},"hostname\n",[297,477,478,481],{"class":299,"line":307},[297,479,480],{"class":310},"uname",[297,482,483],{"class":314}," -a\n",[218,485,486],{},"Successful command output confirms remote shell access and host reachability.",[222,488,490],{"id":489},"troubleshooting","Troubleshooting",[275,492,494],{"id":493},"permission-denied-publickey","Permission denied (publickey)",[227,496,497,500,506,509],{},[230,498,499],{},"Verify the private key file matches the SSH key registered in your account",[230,501,502,503],{},"Ensure correct key permissions: ",[283,504,505],{},"chmod 600 ~/.ssh/your-key.pem",[230,507,508],{},"Confirm the key used for instance launch is still available locally",[230,510,511,512],{},"Try adding verbose output for debugging: ",[283,513,514],{},"ssh -vvv -i ~/.ssh/your-key.pem \u003Cusername>@\u003Cinstance-endpoint>",[275,516,518],{"id":517},"connection-timed-out","Connection timed out",[227,520,521,528,531,534],{},[230,522,523,524,527],{},"Verify instance is in ",[283,525,526],{},"Running"," state",[230,529,530],{},"Check endpoint is correct from instance details page",[230,532,533],{},"Verify network/firewall allows outbound SSH (port 22)",[230,535,536],{},"Try again after waiting a minute—new instances may need time to fully initialize",[275,538,540],{"id":539},"instance-unreachable","Instance unreachable",[227,542,543,556,559,562],{},[230,544,545,546,548,549,552,553],{},"Confirm instance status is ",[283,547,526],{},", not ",[283,550,551],{},"Stopped"," or ",[283,554,555],{},"Provisioning",[230,557,558],{},"Check if instance has an endpoint assigned",[230,560,561],{},"Verify you're using the correct username for the OS image (see Common image usernames)",[230,563,564],{},"For persistent issues, try rebooting the instance from the console",[275,566,568],{"id":567},"permission-denied-no-other-methods-available","Permission denied (no other methods available)",[227,570,571,574,577],{},[230,572,573],{},"Ensure the account SSH key hasn't been deleted",[230,575,576],{},"Regenerate and register a new SSH key if needed",[230,578,579],{},"Contact support if unable to resolve",[222,581,583],{"id":582},"next-steps","Next steps",[227,585,586,591],{},[230,587,588],{},[589,590,122],"a",{"href":123},[230,592,593],{},[589,594,112],{"href":113},[596,597,598],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":293,"searchDepth":307,"depth":307,"links":600},[601,602,603,608,609,610,616],{"id":224,"depth":307,"text":225},{"id":241,"depth":307,"text":242},{"id":272,"depth":307,"text":273,"children":604},[605,606,607],{"id":277,"depth":321,"text":278},{"id":369,"depth":321,"text":370},{"id":388,"depth":321,"text":389},{"id":437,"depth":307,"text":438},{"id":461,"depth":307,"text":462},{"id":489,"depth":307,"text":490,"children":611},[612,613,614,615],{"id":493,"depth":321,"text":494},{"id":517,"depth":321,"text":518},{"id":539,"depth":321,"text":540},{"id":567,"depth":321,"text":568},{"id":582,"depth":307,"text":583},"Access your instance securely with SSH keys","md",null,{},{"icon":110},{"title":107,"description":617},"Ml9kZreAWLxAQp6icWpLUVlv0fCsNvdG43B-HsVQepc",[625,627],{"title":103,"path":104,"stem":105,"description":626,"icon":40,"children":-1},"Create your first Virtual Machine from the DCP Console",{"title":112,"path":113,"stem":114,"description":628,"icon":115,"children":-1},"Create and manage point-in-time snapshots for instances",1778274382763]