flymysql/dsh-remote73

dsh-remote

支持 SSH 连接与文件同步的远程工作助手。

AI 分析

适合需要在 DSH 中直接操作远程服务器和编辑文件的开发者。

包名
dsh-remote
版本
0.8.15
许可证
MIT
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:flymysql/dsh-remote

Configuration

KeyTypeDefaultMeaning
hoststring''default SSH host (else start disconnected)
portint22default SSH port
usernamestring''default SSH user
passwordstring''default SSH password (non-empty overrides key)
privateKeyPathstring''private key path (used only when explicitly provided)
passphrasestring''passphrase for an encrypted private key
workspacestring''default remote workspace path
shellstring''remote command terminal strategy: ''=auto-detect (Git Bash on Windows remotes), 'git-bash'=prefer Git Bash, 'native'=never wrap, anything else=explicit bash.exe path (e.g. C:\Program Files\Git\bin\bash.exe)
commandTimeoutMsint20000per remote command timeout
connectTimeoutMsint15000SSH connect timeout
maxFileBytesint52428800skip mirroring/reading files larger than this (0 = no cap)
hostKeyModestringaccept-newhost-key policy: accept-new (TOFU), verify (reject unknown hosts), off (skip)
useAgentboolfalseauthenticate via the OpenSSH agent (SSH_AUTH_SOCK)
keyboardInteractiveboolfalseallow keyboard-interactive auth (OTP/MFA) with the configured password
proxyobjectjump host: { host, port?, username?, password?, privateKeyPath? }
autoPushboolfalseauto-push edited mirror files back to the remote (watcher, debounced)
auditLogbooltrueappend executed commands to $DSH_HOME/remote-workspaces/audit.log
encodingstringutf-8text encoding for remote file reads/writes (e.g. gbk)