---
title: "Discussion on \"Infecting SSH Public Keys with backdoors\" | Hashnode"
description: "Discussion on \"Infecting SSH Public Keys with backdoors\". In this article, you will learn how to add a backdoor to the SSH Public Key. The backdoor will execute whenever the user logs in. The backdoor hides as an unreadable long hex-string inside ~/.ssh/authorized_keys or ~/.ssh/id_*.pub.\nThe source is avai..."
url: "https://hashnode.com/posts/infecting-ssh-public-keys-with-backdoors/646dec692f7b52253343634e"
---

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

Discussion

# [Infecting SSH Public Keys with backdoors](https://blog.thc.org/infecting-ssh-public-keys-with-backdoors?utm_source=hashnode&utm_medium=feed)

In this article, you will learn how to add a backdoor to the SSH Public Key. The backdoor will execute whenever the user logs in. The backdoor hides as an unreadable long hex-string inside ~/.ssh/authorized\_keys or ~/.ssh/id\_\*.pub. The source is avai...

May 24, 2023 · 3 min read · blog.thc.org  
Updated May 26, 2023  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#hacking](https://hashnode.com/tag/hacking)
-   [#ssh](https://hashnode.com/tag/ssh)

## Written by

[root](https://hashnode.com/@hackerschoice)

@hackerschoice

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

Security Research and Development.

https://infosec.exchange/@thc https://thc.org/ops

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
