UynajGI/dsh-ssh5

dsh-ssh

SSH remote-execution plugin for DeepSeek Harness — ProxyJump chain, SFTP filesystem, subprocess and PTY over ssh2

AI 分析

核心用途是允许 DSH 代理通过 SSH 远程连接服务器并执行命令、管理文件。适合需要让 Agent 在远程 Linux 服务器或开发机上进行运维、编码任务的用户。

パッケージ
dsh-ssh
バージョン
0.3.0-pre
ライセンス
MIT
最終更新
2026/08/16

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:UynajGI/dsh-ssh

ドキュメント

README 全文を読む ↗

Picker configuration (dsh-ssh/picker)

FieldTypeDefaultDescription
maxEntriesnumber1000Complete-result bound for one listed level (hidden rows count; truncated flags a cut)
remoteLabelstringRetained field: the client flow no longer uses a pinned entry; remote entries live in the left connection sidebar

dsh-ssh/picker now serves only the ctx.directoryPicker browse backend (local directories keep working on Windows hosts; POSIX absolute paths go to the aggregate SSH connection). The client UI's remote connection list and remote directory browsing ride the dsh-ssh/web RPC channel instead.

Configuration reference (dsh-ssh/ssh)

FieldTypeDefaultDescription
hoststringTarget hostname or address (required)
portnumber22Target SSH port
usernamestringRemote login user (required)
passwordstringPassword auth
privateKeystringPEM key content or local identity-file path
passphrasestringPassphrase for an encrypted key
agentstringssh-agent socket path or pageant
jumpJumpConfig[][]ProxyJump chain; per-hop port/user/auth overrides
cwdstringRemote working directory (required, absolute POSIX path)
readyTimeoutnumber45000Connection timeout (ms)
keepaliveIntervalnumber0SSH keepalive interval (ms)
keepaliveCountMaxnumber3Keepalive failure threshold
strictHostKeyCheckingbooleanfalseVerify the host key against knownHosts
knownHostsstring[][]Trusted fingerprints (SHA256:…) or raw base64 public keys

OpenSSH ~/.ssh/config mapping

OpenSSH directivedsh-ssh field
HostName / Port / Userhost / port / username
IdentityFile / IdentitiesOnlyprivateKey (path or PEM)
PasswordAuthenticationpassword
ForwardAgentagent
ProxyJump (comma-separated hops)jump array (per-hop)
ConnectTimeoutreadyTimeout
ServerAliveInterval / ServerAliveCountMaxkeepaliveInterval / keepaliveCountMax
StrictHostKeyChecking + UserKnownHostsFilestrictHostKeyChecking + knownHosts
RemoteCommand / RequestTTYsee spawnTerminal (PTY is consumer-requested)