Skip to content

Dev cli sessions#1

Merged
i-davydenko merged 1 commit intomasterfrom
dev-cli-sessions
Dec 15, 2023
Merged

Dev cli sessions#1
i-davydenko merged 1 commit intomasterfrom
dev-cli-sessions

Conversation

@i-davydenko
Copy link
Copy Markdown
Owner

@i-davydenko i-davydenko commented Aug 23, 2023

add support for cli-sessions feature
HLD: sonic-net/SONiC#1367

scripts/hostcfgd Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please add more readable error. I believe error in this situation should be "Invalid configuration. Missing POLICIES in SSH_SERVER config"

scripts/hostcfgd Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Please add better comments. Why do we need ignore list here? Why are we not processing when max_sessions in key?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

max_session config applied via already existing limits.j2 config file, that handled by PamLimitsCfg class

@i-davydenko i-davydenko force-pushed the dev-cli-sessions branch 3 times, most recently from d8972a1 to f4db573 Compare November 7, 2023 17:07
 update hostcfgd: add serial-console and extend ssh-server modules,
 update existing tests,
 introduce serial-console test
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