---
title: "尝试通过SSH链接远程服务器"
method: PUT
path: "/v2/nodes/login"
tags: ["v2"]
---

# 尝试通过SSH链接远程服务器

`PUT /v2/nodes/login`

try to connect to ssh

## Request body

- object
  - `hostport` string, required — ip:端口 in: body
  - `hosttype` string, required — 节点类型 in: body
  - `pwd` string — root密码 in: body
  - `type` boolean, required — 登录类型 in: body

## Response `200`

{"bean":{"hostport":"10.0.55.73:22","type":true,"result":"success"}}

---

[API](https://skmtc.net/goodrain/apis/untitled-api.md) · [All operations](https://skmtc.net/goodrain/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goodrain/untitled-api/versions/8c773e222448/schema)
