---
title: "Discussion on \"How to resolve \"server refused our key\" error while putty connect AWS EC2 instance?\" | Hashnode"
description: "Discussion on \"How to resolve \"server refused our key\" error while putty connect AWS EC2 instance?\". Using PuTTY through SSH to sign into an Amazon EC2 instance can result in confusing \"Server Refused Our Key\" messages, blocking access even with appropriate credentials. This arises from mismatches between the public key set into PuTTY sessions and t..."
url: "https://hashnode.com/posts/how-to-resolve-server-refused-our-key-error-while-putty-connect-aws-ec2-instance/657e27ca81471e1a3073699a"
---

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

Discussion

# [How to resolve "server refused our key" error while putty connect AWS EC2 instance?](https://puttygeninfo.hashnode.dev/how-to-resolve-server-refused-our-key-error-while-putty-connect-aws-ec2-instance?utm_source=hashnode&utm_medium=feed)

Using PuTTY through SSH to sign into an Amazon EC2 instance can result in confusing "Server Refused Our Key" messages, blocking access even with appropriate credentials. This arises from mismatches between the public key set into PuTTY sessions and t...

Dec 16, 2023 · 3 min read · puttygeninfo.hashnode.dev  
Read the article

-   [#serverrefused](https://hashnode.com/tag/serverrefused)
-   [#putty](https://hashnode.com/tag/putty)
-   [#puttygen](https://hashnode.com/tag/puttygen)
-   [#aws](https://hashnode.com/tag/aws)
-   [#aws-ec2](https://hashnode.com/tag/aws-ec2)
-   [#docker-container](https://hashnode.com/tag/docker-container)

## Written by

[puttykeyinfo](https://hashnode.com/@puttykeyinfo)

@puttykeyinfo · united kingdom

  
[View profile](https://hashnode.com/@puttykeyinfo)

puttykeyinfo is your full stop about putty.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
