login about faq

I need to upgrade my Tectia SSH server. Do I need to regenerate the hostkey? Is there any way I can use the existing hostkey?

asked Jan 12 '11 at 11:05

SSH%20KB's gravatar image


In most cases, old hostkey is automatically taken in use after a server upgrade. On Windows, when upgrading from 4.x to a newer release, the file permissions need to be reset manually.

The hostkey is a server's identity and should be preserved when upgrading the server. If a hostkey changes, clients connecting to the server will be notified of a changed hostkey and the user is prompted to accept or deny the new key. Automated jobs may start failing if a hostkey is changed without updating the client side trusted keys.

Note: It is recommended that you make a backup copy of the hostkey before upgrading.

When upgrading, in most cases the old host keys are automatically taken into use. However, on Windows platforms, when upgrading from version 4.x or older, the location and permissions of the host keys are changed. The installation program should copy the keys automatically to the new location, but the permissions need to be reset manually.

To fix the permissions on Windows, after upgrading from 4.x to 6.x, you need to go to the directory where the hostkeys are and reset the permissions using an administrator account:

> cd "C:\Program Files\SSH Communications Security\SSH Tectia\SSH Tectia Server"

> ssh-keygen-g3 --set-hostkey-owner-and-dacl hostkey

answered Jan 12 '11 at 11:06

SSH%20KB's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jan 12 '11 at 11:05

Seen: 4,626 times

Last updated: Jan 12 '11 at 11:06

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.