Skip to content

Remove SSH host keys after installing the custom version of sshd (#10633) #11140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

saiarcot895
Copy link
Contributor

  • Remove SSH host keys after installing the custom version of sshd

Signed-off-by: Saikrishna Arcot [email protected]

  • Use an override for for sshd instead of overwriting the service file

Don't overwrite upstream's .service file, and instead use an override
file for making sure the host key(s) are generated.

Signed-off-by: Saikrishna Arcot [email protected]

Why I did it

Cherry-pick of #10633 from master branch to 202012 branch.

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

…ic-net#10633)

* Remove SSH host keys after installing the custom version of sshd

Signed-off-by: Saikrishna Arcot <[email protected]>

* Use an override for for sshd instead of overwriting the service file

Don't overwrite upstream's .service file, and instead use an override
file for making sure the host key(s) are generated.

Signed-off-by: Saikrishna Arcot <[email protected]>
@saiarcot895 saiarcot895 requested review from yxieca and Blueve June 14, 2022 18:41
@saiarcot895 saiarcot895 marked this pull request as ready for review June 14, 2022 18:41
@saiarcot895 saiarcot895 merged commit 044570c into sonic-net:202012 Jun 16, 2022
@saiarcot895 saiarcot895 deleted the remove-ssh-host-keys-202012 branch June 16, 2022 18:47
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.

2 participants