SFTP Host Key error

book

Article ID: 209910

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

When attempting to connect to SFTP using the -hostkey flag, and error is received:

Host key does not match configured key

 

Cause

The Hostkey specified in the command does not match the HostKey on the server side

Environment

Release : ANY

Resolution

When connecting to the SFTP through a prompt, an error should return that informs you what the Host key is. In the errors look for a line:

"Host key fingerprint is *"

Copy the value that is where the * is, and replace the used -hostkey value with this value instead.