Skip to content

[broadcom ser] make a backup sshd_config and restore it after test#2202

Merged
yxieca merged 2 commits intosonic-net:masterfrom
yxieca:ser
Sep 11, 2020
Merged

[broadcom ser] make a backup sshd_config and restore it after test#2202
yxieca merged 2 commits intosonic-net:masterfrom
yxieca:ser

Conversation

@yxieca
Copy link
Copy Markdown
Collaborator

@yxieca yxieca commented Sep 11, 2020

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Approach

What is the motivation for this PR?

ssh timeout stopped happening after nightly test.

How did you do it?

The sshd_config file contains commented out ClientAliveInterval and ClientAliveCountMax with contradicting values than the ones we want to use.

While commentted out the active ones does the job of disabling ssh timeout. Uncomment them will also uncomment the originally commented out ones which seems take precedence and disabled the ssh timeout inadvertently.

Signed-off-by: Ying Xie ying.xie@microsoft.com

The sshd_config file contains commented out ClientAliveInterval and
ClientAliveCountMax with contradicting values than the ones we want
to use.

While commentted out the active ones does the job of disabling ssh
timeout. Uncomment them will also uncomment the originally commented
out ones which seems take precedence and disabled the ssh timeout
inadvertently.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
@yxieca yxieca merged commit dd108e7 into sonic-net:master Sep 11, 2020
@yxieca yxieca deleted the ser branch September 11, 2020 03:49
kazinator-arista pushed a commit to kazinator-arista/sonic-mgmt that referenced this pull request Mar 4, 2026
5bb99c7 Validate LAG has members before mirror session create (sonic-net#2130)
ec6c8af [vxlan] Remove tunnel map objects on VNET tunnel removal (sonic-net#2150)
7e7db19 [BFD]Registering BFD state change callback during session creation (sonic-net#2202)
618fe07 [VNET]Fixing nexthop group delete during route change (sonic-net#2198)
91b66df [portsorch]: Prevent LAG member configuration when port has active ACL binding (sonic-net#2165)
29de9d0 Remove redundant and problematic code to skip "pool" field in buffer profile handling (sonic-net#2197)
ded0b45 [PBH] Implement Edit Flows (sonic-net#2169)
2ee0f49 [neighsyncd] increase neighsyncd timeout (sonic-net#2209)
a0160c0 [QosOrch] The notifications cannot be drained in QosOrch in case the first one needs to retry (sonic-net#2206)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants