WeOS
5.20.1

# Command Line Interface (CLI)

## Introduction

The Command Line Interface (CLI) can be access via the console port or remotely via SSH or Telnet.

## Timeout

It is possible to configure a console CLI timeout (seconds). When enabling CLI timeout the user is automatically logged out after the configured number of seconds of inactivity.

    example:/#> configure
    example:/config/#> management
    example:/config/management/#> cli
    example:/config/management/cli/#> timeout 60

The example above sets a CLI timeout of 60 seconds. After one minute of inactivity the user will be automatically logged out of the CLI. This timeout is valid for users logging in to the device over console, SSH or Telnet.

Note: The CLI timeout is set independently from the Web session timeout. There is also a separate SSH idle timeout, which automatically disconnects an SSH connection when the connecting user has not been active for a while.

`[no] timeout SEC`

  This setting is used to automatically logs out a user from CLI when user has not been active for a while.

  no
    Disable CLI idle timeout completely
  SEC
    Number of seconds (1..86400) of idle activity until a user is automatically logged out from CLI.

« Previous Next »