-1

I have a server on EC2 that I was connecting to through FileZilla SFTP. Suddenly its asking me to trust a new host key. Even when the machine is turned off. Is this a man in the middle attack? How would it send a new host key if the machine is off?

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
user3238414
  • 125
  • 2
  • 12

1 Answers1

0

I would assume that your instance IP address has changed (e.g. due to a restart) and your original IP address was assigned to a different instance.

That would explain both the different host key and the fact you can connect, despite your instance being off.

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992