Перейти к содержанию

session

Использование

ssh session {client-alive-count-max,client-alive-interval,list,maxauthtries,maxlogins,maxsessions,maxsyslogins} [-h] [--to_file]

Описание

Управление сессиями по SSH.

Аргументы

  • client-alive-count-max - Command to view and change the number of periods before disconnecting an inactive user. To change the parameter, enter a value in the range from 0 to 10. To view the current value, execute without value.
  • client-alive-interval - The command to view and change the amount of time (seconds) after which the inactive user will be disconnected. To change the parameter, enter a value in the range from 0 to 7200. To view the current value, execute without value.
  • list - Displays active SSH sessions.
  • maxauthtries - Command to view and change the number of unsuccessful connection attempts. To change the parameter, enter a value in the range from 0 to 10. To view the current value, execute without value.
  • maxlogins - Command to view and change the number of simultaneous connections of each user. To change the parameter, enter a value in the range from 1 to 10. To view the current value, execute without value.
  • maxsessions - Command to view and change the number of multiplexed ssh sessions in one ssh session. To change the parameter, enter a value in the range from 1 to 30. To view the current value, execute without value.
  • maxsyslogins - Command to view and change the total number of simultaneous connections. To change the parameter, enter a value in the range from 1 to 30. To view the current value, execute without value.
  • --to_file - Redirect output to file (/tmp/cli-stdout.txt).