Wisdoverse/dsh-git-auth-plugin0

dsh-git-auth

DSH host tool bundle: manage glab / gh authorization and SSH keys

AI 分析

核心用途是简化 Git 托管平台的授权管理。适合需要在 DSH 环境中频繁与 GitHub/GitLab 交互、管理 SSH 密钥的开发者。

パッケージ
dsh-git-auth
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/04

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Wisdoverse/dsh-git-auth-plugin

ドキュメント

README 全文を読む ↗

Configuration

Open Settings → Plugins → Plugin configuration, or edit the git-auth section in the DSH settings document (normally $DSH_HOME/settings.yaml).

SettingDefaultAccepted value
ghHostgithub.comBare GitHub hostname, optionally with a port
glabHostgitlab.comBare GitLab hostname, optionally with a port
commandTimeoutMs60000Integer greater than or equal to 1
sshPathEmptyDirect child of /.ssh; empty means /.ssh/id_ed25519
sshCommentEmptyDefault comment passed to ssh-keygen
sshAddAgentfalseWhether generated keys are loaded with ssh-add by default
git-auth:
  glabHost: gitlab.example.com
  commandTimeoutMs: 60000
  sshPath: id_ed25519
  sshComment: developer@example.com
  sshAddAgent: true

Settings are resolved at tool-call time, so host-side settings-file updates do not require a plugin reinstall. DSH may restrict settings writes from remote browsers; edit the host settings file if the UI is read-only.

sshPath is a shared default name resolved separately inside every session workspace. ssh_key generate also writes that repository's local core.sshCommand; use action: configure to bind an existing key. That command uses /.ssh/known_hosts, so it also works when the DSH process has no HOME.