# Disable session timeout on CLI & PubSub+ Manager

**URL:** <https://community.solace.com/t/disable-session-timeout-on-cli-pubsub-manager/962>\
**Category:** Training, Tips and Tricks\
**Tags:** cli\
**Created:** [September 28, 2021, 5:36pm UTC](https://community.solace.com/t/disable-session-timeout-on-cli-pubsub-manager/962 "2021-09-28T17:36:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Manson](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/thomas_manson/32/1765_2.png) [@Thomas\_Manson](https://community.solace.com/u/Thomas_Manson)\
**Post date:** [September 28, 2021, 5:36pm UTC](https://community.solace.com/t/disable-session-timeout-on-cli-pubsub-manager/962/1 "2021-09-28T17:36:46Z")

</div>

**Hi Solace Community,**

For obvious security reason the session timeout for the CLI & PubSub+ Manager is set to 5 minutes for CLI & 15 min for Manager.

And this can be annoying to have to reconnect all the time on non production environment or if you have a lot to do in production, for a “go live” for example.

# CLI Session Timeout

on CLI, you can disable the session timeout for the current session (so you’ll have to type it each time you want to disable it) :

`session timeout 0`

or change it definitively with the following

```auto
enable
configure
console timeout 120

```

# PubSub+ Broker Manager

For the PubSub+ Broker Manager, you can permanently tune the session length.  
The setting is done on the SEMP API session timeout, since the broker manager use the REST APi.

## In PubSub+ Manager itself:

you can change it here :  
System/service/Settings/SEMP/Session idle timeout

The maximum value is `5256000`

## Using CLI

```auto
enable
configure
service semp session-idle-timeout 5256000

```

\*\*WARNING : \*\* This is something you shouldn’t do in production (or restore default value once your go live is done)

---

<div class="post-metadata">

**Author:** ![marc](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/marc/32/2191_2.png) [@marc](https://community.solace.com/u/marc)\
**Post date:** [September 28, 2021, 5:56pm UTC](https://community.solace.com/t/disable-session-timeout-on-cli-pubsub-manager/962/2 "2021-09-28T17:56:17Z")

</div>

Thanks @Thomas_Manson …definitely a useful tip!

I will say `session timeout 0` was one of my best friends when using solace in dev environments 😉
