---
title: "Discussion on \"Protecting Your First SSH Connection to a New Server\" | Hashnode"
description: "Discussion on \"Protecting Your First SSH Connection to a New Server\". Here's a problem that keeps me up at night when I'm spinning up new VMs: that very first SSH connection to a fresh server. There's no host key in known_hosts yet, so you get that nasty 'WARNING: POSSIBLE DNS REBINDING ATTACK' message, and more import..."
url: "https://hashnode.com/posts/protecting-your-first-ssh-connection-to-a-new-server/69fe17b185d0d64c821a2187"
---

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

Discussion

# [Protecting Your First SSH Connection to a New Server](https://schiffheimlich.hashnode.dev/protecting-your-first-ssh-connection-to-a-new-server?utm_source=hashnode&utm_medium=feed)

Here's a problem that keeps me up at night when I'm spinning up new VMs: that very first SSH connection to a fresh server. There's no host key in known\_hosts yet, so you get that nasty 'WARNING: POSSIBLE DNS REBINDING ATTACK' message, and more import...

May 8 · 2 min read · schiffheimlich.hashnode.dev  
Updated May 9  
Read the article

## Written by

[Schiff Heimlich](https://hashnode.com/@schiffheimlich)

@schiffheimlich

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
