[{"data":1,"prerenderedAt":263},["ShallowReactive",2],{"practiceExams":3,"studies":186,"concept-\u002Ftools\u002Fcloud-concepts-hub\u002Fssh-public-key-authentication":187},[4,22,37,51,63,75,87,98,111,123,134,144,155,168,177],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},23,"aws-certified-developer-associate-dva-c03","Prepare for the AWS Certified Developer - Associate (DVA-C03) exam with realistic practice questions on developing, securing, testing, deploying and troubleshooting applications on AWS, AI-assisted development included, with detailed explanations.",655,true,"2026-12-03T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png","associate",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"DVA-C03",null,"2026-12-01",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":24,"code":35,"dateBetaStart":20,"dateReleased":36,"pageSlug":31},"SAP-C03","2026-11-17",{"id":38,"slug":39,"description":40,"questionCount":41,"isActive":9,"datePublicModified":42,"difficulty":43,"examVersion":49},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":44,"subtitle":45,"slug":46,"coverImageUrl":47,"level":48},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":39,"code":45,"dateBetaStart":20,"dateReleased":50,"pageSlug":46},"2023-09-19",{"id":52,"slug":53,"description":54,"questionCount":55,"isActive":9,"datePublicModified":42,"difficulty":56,"examVersion":61},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":57,"subtitle":58,"slug":59,"coverImageUrl":60,"level":33},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":53,"code":58,"dateBetaStart":20,"dateReleased":62,"pageSlug":59},"2023-03-07",{"id":64,"slug":65,"description":66,"questionCount":67,"isActive":9,"datePublicModified":42,"difficulty":68,"examVersion":72},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":69,"subtitle":70,"slug":71,"coverImageUrl":60,"level":48},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":65,"code":70,"dateBetaStart":73,"dateReleased":74,"pageSlug":71},"2024-08-13","2024-10-22",{"id":76,"slug":77,"description":78,"questionCount":79,"isActive":9,"datePublicModified":42,"difficulty":80,"examVersion":84},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":81,"subtitle":82,"slug":83,"coverImageUrl":60,"level":17},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":77,"code":82,"dateBetaStart":85,"dateReleased":86,"pageSlug":83},"2023-11-27","2024-03-12",{"id":12,"slug":88,"description":89,"questionCount":90,"isActive":9,"datePublicModified":42,"difficulty":91,"examVersion":96},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":92,"subtitle":93,"slug":94,"coverImageUrl":95,"level":17},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png",{"slug":88,"code":93,"dateBetaStart":20,"dateReleased":97,"pageSlug":94},"2022-08-30",{"id":99,"slug":100,"description":101,"questionCount":102,"isActive":9,"datePublicModified":103,"difficulty":104,"examVersion":108},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":105,"subtitle":106,"slug":107,"coverImageUrl":60,"level":33},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":100,"code":106,"dateBetaStart":109,"dateReleased":110,"pageSlug":107},"2025-11-28","2026-03-17",{"id":112,"slug":113,"description":114,"questionCount":115,"isActive":9,"datePublicModified":103,"difficulty":116,"examVersion":121},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":117,"subtitle":118,"slug":119,"coverImageUrl":120,"level":33},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":113,"code":118,"dateBetaStart":20,"dateReleased":122,"pageSlug":119},"2025-12-01",{"id":124,"slug":125,"description":126,"questionCount":127,"isActive":9,"datePublicModified":103,"difficulty":128,"examVersion":132},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":129,"subtitle":130,"slug":131,"coverImageUrl":60,"level":17},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":125,"code":130,"dateBetaStart":133,"dateReleased":20,"pageSlug":131},"2026-09-29",{"id":135,"slug":136,"description":137,"questionCount":138,"isActive":9,"datePublicModified":103,"difficulty":139,"examVersion":143},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":140,"subtitle":141,"slug":142,"coverImageUrl":60,"level":48},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":136,"code":141,"dateBetaStart":133,"dateReleased":20,"pageSlug":142},{"id":145,"slug":146,"description":147,"questionCount":148,"isActive":9,"datePublicModified":103,"difficulty":149,"examVersion":153},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":150,"subtitle":151,"slug":152,"coverImageUrl":60,"level":17},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":146,"code":151,"dateBetaStart":20,"dateReleased":154,"pageSlug":152},"2025-09-30",{"id":156,"slug":157,"description":158,"questionCount":159,"isActive":9,"datePublicModified":160,"difficulty":161,"examVersion":165},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":162,"subtitle":163,"slug":164,"coverImageUrl":60,"level":33},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":157,"code":163,"dateBetaStart":166,"dateReleased":167,"pageSlug":164},"2022-01-01","2022-07-12",{"id":169,"slug":170,"description":171,"questionCount":172,"isActive":9,"datePublicModified":173,"difficulty":174,"examVersion":175},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},{"slug":170,"code":30,"dateBetaStart":20,"dateReleased":176,"pageSlug":20},"2022-11-15",{"id":178,"slug":179,"description":180,"questionCount":181,"isActive":9,"datePublicModified":173,"difficulty":182,"examVersion":183},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":117,"subtitle":118,"slug":119,"coverImageUrl":120,"level":33},{"slug":179,"code":184,"dateBetaStart":20,"dateReleased":185,"pageSlug":20},"SCS-C02","2023-07-11",[],{"id":188,"title":189,"subtitle":190,"description":191,"content":192,"slug":193,"featuresContent":194,"servicesContent":195,"dateCreated":196,"dateModified":197,"datePublicModified":198,"features":199,"services":224,"certifications":249,"flashcards":251,"questionCounts":257,"questionCount":259,"lessons":260},1723,"SSH Public-Key Authentication","SSH public-key authentication lets a client log in to an SSH server by proving it holds the private key for a public key the server accepts.","The SSH client signs data tied to the connection, and the server verifies the signature without receiving the private key. This lets engineers grant and revoke access for individual people or workloads without distributing a shared login password.","\u003Cp>SSH public-key authentication proves that a client holds a private key authorized for a particular account. The client signs data tied to the current SSH session, and the server verifies the signature with the corresponding public key. The private key stays with the client or with a signer acting on its behalf, such as a hardware token. Simply knowing or copying a public key does not let someone log in, but being able to add a public key to an account's authorized keys can grant access to that account.\u003C\u002Fp>\u003Cp>For a development VM, generate a dedicated key pair on a trusted workstation with an OpenSSH command such as \u003Ccode>ssh-keygen -t ed25519 -f ~\u002F.ssh\u002Fdev_vm\u003C\u002Fcode> if both ends and local policy support Ed25519. Choose a passphrase for an interactive user's private key. Register only \u003Ccode>dev_vm.pub\u003C\u002Fcode> for the intended OS account, for example through instance provisioning or the account's \u003Ccode>~\u002F.ssh\u002Fauthorized_keys\u003C\u002Fcode> file. After verifying the server's host key against a trusted source, test the login with \u003Ccode>ssh -i ~\u002F.ssh\u002Fdev_vm devuser@dev.example.com\u003C\u002Fcode>. Keep an existing session or recovery path available when changing authentication settings so a configuration mistake does not lock out administrators.\u003C\u002Fp>\u003Cp>In the cloud, a provisioning system may install a key at instance creation, or an identity-aware access service may make a key available to the server for a short time. Neither approach makes the SSH endpoint reachable or grants OS permissions by itself: the connection still needs an allowed network path, and the authenticated account still needs the right permissions. If login fails, check the target username, which key the client is offering, and the server's key source, file permissions, and authentication logs. A key shown in a cloud console is not necessarily the key the guest OS currently accepts.\u003C\u002Fp>\u003Cp>For a larger fleet, an SSH certificate authority can sign a developer's public key to issue a short-lived OpenSSH user certificate. Configure servers to trust the CA and accept only the appropriate certificate principals for each account. The client still proves possession of the matching private key; the certificate tells the server which identities the CA approved and for how long. An SSH user certificate is not a TLS certificate. Certificates reduce per-host key distribution, but they require a protected CA signing key and a reliable issuance process.\u003C\u002Fp>\u003Cp>Static keys are easy to deploy on a few hosts, but rotation and offboarding require removing trust everywhere the old key was authorized. Deleting the local private-key file does not revoke copies. Use separate credentials for people and automation, keep private keys out of repositories and VM images, and remove authorization promptly if a key is exposed. A passphrase protects a stored private-key file; by itself it is not a second factor verified by the server. Client authentication is also separate from host verification and transport encryption: the host key identifies the server, and SSH uses session keys to encrypt traffic.\u003C\u002Fp>","ssh-public-key-authentication","SSH public-key authentication combines proof of private-key possession with server-side account authorization, while key lifecycle and host verification remain separate operational responsibilities.","\u003Cp>VM services such as Amazon EC2, Compute Engine, and Azure Virtual Machines can provision a public key for a guest OS account. On EC2, EC2 Instance Connect adds an IAM-gated way to make a public key available briefly instead of relying on a permanent entry for each developer. Compute Engine's OS Login offers a different identity-managed approach, replacing metadata-based keys with access tied to IAM. A team can use a separate credential for AWS Transfer Family when it needs file transfer without shell access. Across these services, the SSH client still proves possession of the private key, while each service or guest OS controls where that credential is accepted.\u003C\u002Fp>","2026-12-01T17:31:27.360Z","2026-12-01T17:33:52.328Z","2026-12-01T17:33:52.000Z",[200,204,208,212,216,220],{"id":201,"title":202,"subtitle":60,"content":203},24649,"Proof of private-key possession","The client signs session-specific data and the server verifies the signature. Only the public key needs to be registered with the server or access service.",{"id":205,"title":206,"subtitle":60,"content":207},24650,"Key generation and custody","Generate a separate key pair for each person or workload and select a key type supported by the clients, servers, and security policy. Protect interactive private keys with a passphrase or use a hardware-backed key where supported.",{"id":209,"title":210,"subtitle":60,"content":211},24651,"Authorization for a specific account","The server decides which keys or certificate principals can authenticate to the requested OS account. Use a least-privileged account rather than granting administrative access to every accepted key.",{"id":213,"title":214,"subtitle":60,"content":215},24652,"Static keys and short-lived certificates","A static public key works until its authorization is removed. A trusted SSH CA can instead issue short-lived certificates for approved principals, reducing the need to update individual keys on every host.",{"id":217,"title":218,"subtitle":60,"content":219},24653,"Lifecycle and recovery","Test the replacement credential before removing the old one, and keep a recovery path for lockouts. When a static key is compromised, remove its authorization wherever it was installed; closing access to new logins does not terminate existing sessions.",{"id":221,"title":222,"subtitle":60,"content":223},24654,"Separate trust in the server","Verify the server's host key or host certificate independently of the user credential. Investigate an unexpected host-key change rather than bypassing the warning.",[225,233,241],{"id":226,"content":227,"service":228},14013,"For Linux instances launched from images that support EC2 key-pair provisioning, the launch-time public key is installed for the image's default login user. Engineers can import a public key generated on a workstation and keep the matching private key local.",{"id":229,"title":230,"subtitle":20,"slug":231,"coverImageUrl":232,"isActive":9},34,"Amazon EC2","amazon-ec2","\u002Fimages\u002Fprovider-services\u002Famazon-ec2\u002Fcovers\u002FArch_Amazon-EC2_64.png",{"id":234,"content":235,"service":236},14014,"When provisioning a Linux VM, engineers can supply a public key for the administrator account. The matching private key remains with the SSH client and is not required by Azure to provision that account.",{"id":237,"title":238,"subtitle":239,"slug":240,"coverImageUrl":20,"isActive":9},392,"Virtual Machines","Azure Virtual Machines provides on-demand Windows and Linux servers with configurable compute, storage, networking, and operating-system control.","virtual-machines",{"id":242,"content":243,"service":244},14015,"A service-managed SFTP user can have SSH public keys registered for authentication. The same proof of private-key possession grants access to the configured file-transfer account rather than an interactive shell.",{"id":245,"title":246,"subtitle":20,"slug":247,"coverImageUrl":248,"isActive":9},126,"AWS Transfer Family","aws-transfer-family","\u002Fimages\u002Fprovider-services\u002Faws-transfer-family\u002Fcovers\u002FArch_AWS-Transfer-Family_64.png",[250],{"slug":15,"title":13,"code":19,"dateBetaStart":20,"dateReleased":21,"level":17,"hasPracticeExam":9},[252],{"id":253,"question":254,"answer":255,"explanation":256,"certificationSlug":15},61739,"A developer needs occasional SSH access to a running Amazon Linux 2023 development instance. The instance already supports EC2 Instance Connect, and the developer's workstation can reach its SSH port. The security team requires each new login to use a freshly generated key pair, with the private key kept on the workstation. AWS IAM must authorize each public key submission, and the instance must stop accepting that key for new logins after a short window without a cleanup script. Which solution meets these requirements?","Generate a key pair on the workstation for each login. Use the developer's IAM credentials to submit the public key with SendSSHPublicKey, then connect with the matching private key within 60 seconds.","EC2 Instance Connect checks IAM permissions for SendSSHPublicKey and makes the public key available to the instance for 60 seconds. The SSH client uses the private key locally. The window limits new authentication with that key; it does not end an established session.",[258],{"certificationSlug":15,"count":259},2,{"count":261,"certificationCount":261,"items":262},0,[],1796288388207]