# Prevent PuTTY Security Alert when connecting via Secure Gateway

**URL:** https://community.royalapps.com/t/prevent-putty-security-alert-when-connecting-via-secure-gateway/171
**Category:** Royal TS (for Windows)
**Tags:** documentation
**Created:** [March 17, 2020, 2:25pm UTC](https://community.royalapps.com/t/prevent-putty-security-alert-when-connecting-via-secure-gateway/171 "2020-03-17T14:25:04Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://community.royalapps.com/user_avatar/community.royalapps.com/system/32/244_2.png) [@system](https://community.royalapps.com/u/system)
#### Post date: [March 17, 2020, 2:25pm UTC](https://community.royalapps.com/t/prevent-putty-security-alert-when-connecting-via-secure-gateway/171/1 "2020-03-17T14:25:04Z")

</div>

Are you receiving a PuTTY Security Alert when connecting to certain devices via Secure Gateway? Are you getting annoyed by having to accept the same host key again and again? If that is the case, here is the solution for you.

When you connect and get the dialog with the key warning, if you press CTRL-C, you can copy the text of the box to the clipboard. After that, go to “Properties - Advanced - SSH Settings” and paste the key into your fingerprint and activate the setting “Use Hostkey”:

 ![](https://community.royalapps.com/uploads/default/original/1X/79210133a0c3b6c18af1b8cf920ccea06255ef27.png)
