Version 4.0.26.22 (latest)

### Get information about all SSH Tunnels.

## Request

GET /ssh_tunnels Datatype Description Request HTTP Request query HTTP Query Expand HTTP Query definition... fields string Requested fields.

## Response

### 200: SSH Tunnel

Datatype Description (array) [SshTunnel](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/SshTunnel)\[\] tunnel_id string Unique ID for the tunnel ssh_server_id string SSH Server ID ssh_server_name string SSH Server name ssh_server_host string SSH Server Hostname or IP Address ssh_server_port integer SSH Server port ssh_server_user string Username used to connect to the SSH Server last_attempt string Time of last connect attempt local_host_port integer Localhost Port used by the Looker instance to connect to the remote DB database_host string Hostname or IP Address of the Database Server database_port integer Port that the Database Server is listening on status string Current connection status for this Tunnel

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

## Examples

### Swift


|---|
| [https://github.com/looker-open-source/sdk-codegen/blob/main/swift/looker/Tests/lookerTests/smokeTests.swift](https://github.com/looker-open-source/sdk-codegen/blob/main/swift/looker/Tests/lookerTests/smokeTests.swift#L241 "https://github.com/looker-open-source/sdk-codegen/blob/main/swift/looker/Tests/lookerTests/smokeTests.swift") |