# 跳板机读取剪贴板/复制/粘贴

为方便本地和跳板机之间复制粘贴内容，跳板机本身是具备复制、剪贴功能的。

* 跳板机连接Linux服务器应该无需此设置；
* 跳板机连接Windows可能需要跳板机有https权限，参考以下文档安装宝塔：

{% hint style="info" %}

* [如何为NextCLi跳板机绑定域名？](https://docs.nextcli.com/jumpserver/clipboard)
* [如何获取证书？](https://docs.gfwvip.com/#step5)
  {% endhint %}

***

#### 一、系统提示：

1.1、首次打开跳板机链接Windows等服务器时，浏览器会弹出提示获取剪贴板权限，请【允许】。

{% hint style="info" %}
需要使用 https\:// 访问跳板机，才能获取剪贴板权限，http\:// 无法获取；

建议为[跳板机绑定域名并申请证书](https://docs.nextcli.com/jumpserver/nextcli-domain)，即可实现<https://域名> 访问跳板机。
{% endhint %}

<figure><img src="https://759424590-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjiR3t04ay90Ea9V3I6ju%2Fuploads%2FO5pPvFygVM6C4rtsbWa4%2F1.png?alt=media&#x26;token=68f5b395-10c9-442b-bd3f-f2bcab4f5392" alt=""><figcaption><p>点击【允许】获取剪贴板权限</p></figcaption></figure>

1.2、如果首次不小心点击了【禁止】，或忘记设置，可以在连接远程桌面时，在本地浏览器输入框的右侧有一个 剪贴板图标📋 ，点击即可设置为【始终允许】；

<figure><img src="https://759424590-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjiR3t04ay90Ea9V3I6ju%2Fuploads%2FhFQ5A4XYmXKPmmUmDKY8%2F2.png?alt=media&#x26;token=307711f3-99c5-4443-81e0-b1258efebae6" alt=""><figcaption></figcaption></figure>

***

#### 二、人工允许剪贴板权限

如果没有上述提示，请按照下文步骤开启剪贴板权限：

<figure><img src="https://759424590-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjiR3t04ay90Ea9V3I6ju%2Fuploads%2F4tz4Juz9fzTurrclkjaS%2F0-1.png?alt=media&#x26;token=567417a0-5900-47fa-9e32-124d0b058b1b" alt=""><figcaption><p>找到浏览器设置 --> 隐私和安全 --> 网站设置 --> 剪贴板</p></figcaption></figure>

1、chrome浏览器可以复制该地址，直接在输入框输入，并按下键盘回车键即可打开：

```
chrome://settings/content/clipboard
```

2、然后找到跳板机网址，点击进入后，找到【剪贴板】如图所示，设置为【允许】即可。

<figure><img src="https://759424590-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjiR3t04ay90Ea9V3I6ju%2Fuploads%2F7dc26vcqTyhwm07m2EC5%2F0-2.png?alt=media&#x26;token=45c47071-7523-44f5-b80b-f50f62bc187f" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nextcli.com/jumpserver/clipboard.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
