-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[openssh] Introduce custom openssh-server package for supporting reverse console SSH #5717
Conversation
src/openssh/patch/0001-Put-style-as-line-number-to-ssh-session-environment-.patch
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the patch contains lots of unrelated changes. please simplify.
src/openssh/patch/0001-Put-style-as-line-number-to-ssh-session-environment-.patch
Outdated
Show resolved
Hide resolved
i am not able to review the patch till you have simplfied the patch. |
Seems like the openssh-server package were not been built with image.
Investigating... But run below command works.
|
retest this please |
991917c
to
bb3412e
Compare
retest this please |
src/openssh/patch/0001-Put-style-as-line-number-to-ssh-session-environment-.patch
Show resolved
Hide resolved
@qiluo-msft, please take a look at this openssh change. |
src/openssh/patch/0001-Put-style-as-line-number-to-ssh-session-environment-.patch
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As comment
retest vsimage please |
3 similar comments
retest vsimage please |
retest vsimage please |
retest vsimage please |
…rse console SSH (sonic-net#5717) * Build and install openssh from source * Copy openssh deb package to dest folder * Update make rule * Update sonic debian extension * Append empty line before EOF * Update openssh patch * Add openssh-server to base image dependency * Fix indent type * Fix comments * Use commit id instead of tag id and add comment Signed-off-by: Jing Kan jika@microsoft.com
- Why I did it
To support reverse SSH feature, we need to build a custom openssh-server package and replace the official one in SONiC OS.
(see HLD for more detail: https://github.com/Azure/SONiC/blob/master/doc/console/SONiC-Console-Switch-High-Level-Design.md#313-reverse-ssh)
- How I did it
style
field in$SSH_TARGET_CONSOLE_LINE
.- How to verify it
Test Steps:
Login with below options

Run below command and check the result
- Which release branch to backport (provide reason below if selected)
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)