(incus_remote_set-keepalive.md)=
# `incus remote set-keepalive`

Set a keepalive timeout for a remote

## Synopsis
```{line-block}

Description
  Set a keepalive timeout for a remote



```
```
incus remote set-keepalive <remote> <keepalive timeout> [flags]
```

## Examples

```
  incus remote set-keepalive my-remote 30
      Set a keepalive with 30 seconds timeout for my-remote

  incus remote set-keepalive my-remote 0
      Disable keeplive for my-remote
```

## Options inherited from parent commands

```
      --debug[=true|false]          Show all debug messages
      --explain[=true|false]        If the command is valid, explain its parsed arguments instead of running it
      --force-local[=true|false]    Force using the local unix socket
  -h, --help[=true|false]           Print help
      --project                     Override the source project
  -q, --quiet[=true|false]          Don't show progress information
      --sub-commands[=true|false]   Use with help or --help to view sub-commands
  -v, --verbose[=true|false]        Show all information messages
      --version[=true|false]        Print version number
```

## SEE ALSO

* [incus remote](incus_remote.md)	 - Manage the list of remote servers

