Skip to content

Commit b4c80ea

Browse files
Add SSH Authentication Keys v2 feature and bump version to 0.8.27
- Add SSH key authentication with host key verification - Support for passphrase-protected SSH keys - Custom SSH port support for non-standard ports - Known hosts management with change detection - Update documentation in README and docs/features/git.md - Add SSH authentication to features overview
1 parent 6b30d13 commit b4c80ea

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ On first launch, you'll be prompted to create an admin account. That's it!
4949

5050
### Repository & Git
5151
- **Multi-Repository Support** - Clone and manage multiple git repos with private repo support via GitHub PAT
52+
- **SSH Authentication** - Secure SSH key authentication with host key verification and passphrase support
5253
- **Git Worktrees** - Work on multiple branches simultaneously
5354
- **Source Control Panel** - View changes, commits, and branches in a unified interface
5455
- **Diff Viewer** - Unified diffs with line numbers and change counts

docs/features/git.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,42 @@ For private repositories, configure a GitHub Personal Access Token:
1919
2. Enter your GitHub PAT
2020
3. Ensure the token has `repo` scope
2121

22+
### SSH Repositories
23+
24+
For SSH-based git repositories, you can use SSH keys for authentication.
25+
26+
## SSH Authentication
27+
28+
Authenticate with SSH-based git repositories using encrypted SSH keys.
29+
30+
### Adding SSH Keys
31+
32+
1. Go to **Settings > Credentials**
33+
2. Click **Add SSHKey**
34+
3. Enter key name and paste your private key
35+
4. Optionally add a passphrase for encrypted keys
36+
37+
### Host Key Verification
38+
39+
When connecting to an SSH server for the first time, you'll be prompted to verify the server's host key fingerprint. This prevents man-in-the-middle attacks.
40+
41+
The verification dialog shows:
42+
- Server hostname and IP address
43+
- SSH key type and fingerprint
44+
- Warning if the key has changed
45+
46+
### Passphrase-Protected Keys
47+
48+
If your SSH key is passphrase-protected, you'll be prompted to enter the passphrase when needed. Passphrases are not stored and must be entered each time the key is used.
49+
50+
### Custom SSH Ports
51+
52+
SSH repositories using non-standard ports are automatically detected. The port is extracted from the URL (e.g., `ssh://user@host:2222/repo.git`) and used for authentication.
53+
54+
### Known Hosts Management
55+
56+
Accepted host keys are stored securely in the database. If a server's key changes, you'll receive a security warning before proceeding.
57+
2258
## Git Worktrees
2359

2460
Work on multiple branches simultaneously without switching:

docs/features/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ OpenCode Manager provides a comprehensive web interface for managing OpenCode AI
77
### Repository & Git
88

99
- **Multi-Repository Support** - Clone and manage multiple git repos with private repo support via GitHub PAT
10+
- **SSH Authentication** - Secure SSH key authentication with host key verification
1011
- **Git Worktrees** - Work on multiple branches simultaneously
1112
- **Source Control Panel** - View changes, commits, and branches in a unified interface
1213
- **Diff Viewer** - Unified diffs with line numbers and change counts

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opencode-manager",
3-
"version": "0.8.26",
3+
"version": "0.8.27",
44
"private": false,
55
"type": "module",
66
"packageManager": "pnpm@10.28.1",

0 commit comments

Comments
 (0)