Skip to content

Conversation

@mattiaswal
Copy link
Contributor

@mattiaswal mattiaswal commented Apr 10, 2025

This fix #1015

Description

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

@mattiaswal mattiaswal requested a review from troglobit April 10, 2025 08:21
Comment on lines +6 to +10
jq '
if has("infix-services:ssh") then
.
else
.["infix-services:ssh"] = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for being such a bother, but what happens when a user does:

configure
no ssh
leave

Followed by a reboot? Doesn't this re-enable ssh on port 22 then?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should have a discussion with @jovatn about this, first thing tomorrow?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for being such a bother, but what happens when a user does:

configure

no ssh

leave

Followed by a reboot? Doesn't this re-enable ssh on port 22 then?

Not if the version is stepped up, this, this is what we discussed earlier.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, of course. Thanks!

@mattiaswal mattiaswal merged commit 2df84e2 into main Apr 11, 2025
6 checks passed
@mattiaswal mattiaswal deleted the fix-ssh-migrate branch April 11, 2025 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not possible to save custom SSH settings in startup-config

3 participants