OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • Do ssh keys get changed by upgrades
« previous next »
  • Print
Pages: [1]

Author Topic: Do ssh keys get changed by upgrades  (Read 1441 times)

fl1ger

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Do ssh keys get changed by upgrades
« on: July 05, 2021, 06:59:11 pm »
Moin!

Subject says it all. I rarely (aka never after my first installation which was at the start of the pandemic) use ssh to log in to OPNSense, however I currently have a bit of a flaky pppoe connection so thought it would be a good idea to debug some more on the shell prompt. However when trying to log in ssh warns me that the ssh key has changed and I am very sure that I didn't change anything there. So is the SSH key changed between minor/major OPNSense versions or is there something bad going on?

So long
-Ralf
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Do ssh keys get changed by upgrades
« Reply #1 on: July 05, 2021, 08:16:34 pm »
It will be regenerated in a reinstall.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17751
  • Karma: 1620
    • View Profile
Re: Do ssh keys get changed by upgrades
« Reply #2 on: July 06, 2021, 07:27:53 am »
Hi Ralf,

Only factory resets and clean installs will do this. Even the config import from the installer will retain the old keys.

However, OpenSSH has been deprecating old key formats a number of times now and maybe what you are seeing is a switch to a higher encryption key that was already there.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • Do ssh keys get changed by upgrades
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2