---
title: "Discussion on \"How to Set Up Key-Based and Password-Based SSH for a Newly Created User on an EC2 Instance\" | Hashnode"
description: "Discussion on \"How to Set Up Key-Based and Password-Based SSH for a Newly Created User on an EC2 Instance\". Guide to Setting Up SSH Keys and Passwords for Fresh EC2 User Accounts"
url: "https://hashnode.com/posts/how-to-set-up-key-based-and-password-based-ssh-for-a-newly-created-user-on-an-ec2-instance/677ff7dd94e1198de1149fba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Set Up Key-Based and Password-Based SSH for a Newly Created User on an EC2 Instance](https://sriramravi.hashnode.dev/how-to-set-up-key-based-and-password-based-ssh-for-a-newly-created-user-on-an-ec2-instance?utm_source=hashnode&utm_medium=feed)

Guide to Setting Up SSH Keys and Passwords for Fresh EC2 User Accounts

Jan 9, 2025 · 3 min read · sriramravi.hashnode.dev  
Read the article

-   [#devops-articles](https://hashnode.com/tag/devops-articles)
-   [#ssh-keys](https://hashnode.com/tag/ssh-keys)
-   [#aws](https://hashnode.com/tag/aws)
-   [#authentication](https://hashnode.com/tag/authentication)
-   [#ssh-key-pair-for-ec2](https://hashnode.com/tag/ssh-key-pair-for-ec2)
-   [#ssh-keygen](https://hashnode.com/tag/ssh-keygen)
-   [#hashnode](https://hashnode.com/tag/hashnode)

## Written by

[sriram ravi](https://hashnode.com/@sriram-ravi)

@sriram-ravi · Coimbatore, Tamilnadu, India

  
[View profile](https://hashnode.com/@sriram-ravi)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
