[FEATURE] Claude Code Remote (web) sessions can’t make outbound SSH connections, blocking direct VPS/server management workflows

Status Open
Maintainer reply None cached
Activity 1 comment · opened Aug 8, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

Claude Code Remote sessions (used via claude.ai/code / “Claude Code on the web”) restrict all outbound network traffic to HTTPS (port 443) only. This blocks Claude from making direct SSH connections (port 22) to any server — including a user’s own VPS/server, even when the user has explicitly set up SSH key-based authentication specifically so Claude can connect and manage it. I confirmed this is a blanket restriction (not specific to my server) by having Claude attempt a connection to github.com:22, which also timed out.

Proposed Solution

Allow outbound SSH (port 22) from Claude Code Remote sessions when a user has explicitly set up authentication (e.g., an SSH key) for their own infrastructure. This could be opt-in per session/environment, so it doesn’t change the default restrictive posture for users who don’t need it.

Alternative Solutions

If direct SSH access isn’t feasible for security reasons, at minimum surface a clear, upfront message when a user starts setting up SSH access in a Claude Code Remote session (e.g., generating keys, editing authorized_keys) warning that outbound SSH will not work in this environment — so users don’t invest time in a setup that can’t be used as expected.

Priority

Medium - Would be very helpful

Feature Category

Configuration and settings

Use Case Example

Deploying a Flask app to a VPS (Docker + nginx + Let’s Encrypt certificate setup). I needed Claude to run diagnostic and admin commands directly on the server — checking iptables rules, editing nginx config, running certbot — but had to manually relay every command by copy-pasting terminal output back and forth instead, which was slow and error-prone, especially from a mobile device where pasting multi-line terminal output is unreliable.

Additional Context

This is specific to Claude Code Remote (cloud-hosted sessions) — Claude Code CLI and Desktop app running locally on a user’s own machine do not have this restriction, since they use the local machine’s network connection directly.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗