---
canonical: "https://agi-labo.com/tools/cockpit/docs/cockpit-cli/reference/remote-access"
title: "cockpit remote-access"
description: "cockpit remote-accessの構文、オプション、結果、制約をcockpit CLIの正本から自動生成したリファレンスです。"
section: "リファレンス"
order: 118
pageType: reference
lastVerifiedVersion: 4.61.0
lastVerifiedAt: "2026-08-27"
draft: false
surfaces:
  - cli
operatingSystems:
  - windows
  - macos
  - linux
plans:
  - guest
  - member
navigation: false
---

このReference本文は、アプリが配布するcockpit CLIヘルプと同じ英語の正本から自動生成されています。日本語の概念説明と安全な使い方は[cockpit CLI](/tools/cockpit/docs/cockpit-cli)を参照してください。

Manage local Remote Access configuration and runtime together.

```bash
cockpit remote-access status [--verbose]
cockpit remote-access configure [--port <1024-65535>] [--scope tailscale|local] [--https true|false] [--confirm-local-network]
cockpit remote-access enable [--confirm-local-network]
cockpit remote-access disable --confirm
cockpit remote-access pairing-code [--regenerate]
cockpit remote-access certificate status|generate
cockpit remote-access tailscale status
```

Configuration is rejected while the server is running. Local-network scope requires `--confirm-local-network` for both configuration and every enable, and `--scope local` cannot be combined with `--https true`: the pair returns `constraint_violated` because HTTPS depends on a Tailscale certificate. Disabling requires `--confirm` because it ends every connected session and persists standalone mode, which cannot be undone from a remote device. Enable, pairing-code regeneration, certificate generation, and configuration of an install whose persisted mode is already `server` force membership verification. Status, disable, certificate status, Tailscale status, and configuration of a standalone install do not.

Pairing-code regeneration requires Remote Access to be running. Reading the pairing code while it is stopped returns `code: null`; regeneration instead returns `remote_access_not_running` so a no-op is never reported as success.

Authentication and membership failures stop a running server and persist standalone mode. A temporarily unavailable membership verifier preserves a running server and its persisted mode. Status never exposes session IDs, tokens, user agents, or authorized token sets.
