---
title: "Gets the settings required for remote login to a compute node."
method: GET
path: "/pools/{poolId}/nodes/{nodeId}/remoteloginsettings"
tags: ["ComputeNodes"]
---

# Gets the settings required for remote login to a compute node.

`GET /pools/{poolId}/nodes/{nodeId}/remoteloginsettings`

Before you can remotely login to a node using the remote login settings, you must create a user account on the node. This API can be invoked only on pools created with the virtual machine configuration property. For pools created with a cloud service configuration, see the GetRemoteDesktop API.

## Path parameters

- `poolId` string, required
- `nodeId` string, required

## Query parameters

- `timeout` integer
- `api-version` string, required

## Headers

- `client-request-id` string, uuid
- `return-client-request-id` boolean
- `ocp-date` string, date-time-rfc1123

## Response `200`

A response containing the login settings.

- ComputeNodeGetRemoteLoginSettingsResult
  - `remoteLoginIPAddress` string, required
  - `remoteLoginPort` integer, required

## Other responses

- `default` — The error from the Batch service.

---

[API](https://skmtc.net/azure/apis/batchservice-2.md) · [All operations](https://skmtc.net/azure/apis/batchservice-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/batchservice-2/versions/dff38446805d/schema)
