vrf exec default bash and ssh idle timers

  • 1
  • Problem
  • Updated 6 months ago
  • (Edited)
i have mgmt vrf configured but with ntp source interface outside the mgmt vrf, I sometimes execute "vrf exec default bash" to get out of the mgmt vrf and check the ntp status.

I have noticed the ssh idle timers are not working when i get out of the mgmt vrf  (This is on cumulus 3.4.3.)
Photo of Vikram

Vikram

  • 290 Points 250 badge 2x thumb

Posted 6 months ago

  • 1
Photo of Pete B

Pete B, Official Rep

  • 2,786 Points 2k badge 2x thumb
Have you submitted a ticket to our support team for this? Or else, do you have some logs you can share that show the idle timers not working?
Photo of Vikram

Vikram

  • 290 Points 250 badge 2x thumb
i will submit a support ticket shortly
Photo of Vikram

Vikram

  • 290 Points 250 badge 2x thumb
i had to add the below lines to /etc/ssh/sshd_config for ssh sessions to timeout 

ClientAliveInterval 120
ClientAliveCountMax 0


seems the "export TMOUT=120"  in /etc/profile doesn't apply the timeout when changing to default bash from mgmt vrf.