mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
Add skip SSH host key verification and fix self-hosted server support (#121)
* Add SSH host key verification with automatic trust and SCP-style URL support * Fix TypeScript errors for SSH host key schema and test mocks
This commit is contained in:
1 parent
677ce748cd
commit
7341dce1ef
25 files changed
+203
-123
No files matched your search
@@ -25,7 +25,7 @@ export function GitCredentialDialog({ open, onOpenChange, onSave, credential, is
|
||||
token: '',
|
||||
username: '',
|
||||
sshPrivateKey: '',
|
||||
passphrase: '',
|
||||
passphrase: ''
|
||||
})
|
||||
const [tokenEdited, setTokenEdited] = useState(false)
|
||||
const [isTesting, setIsTesting] = useState(false)
|
||||
|
||||
@@ -238,12 +238,12 @@ export function GitSettings() {
|
||||
<td className="px-3 py-2 text-muted-foreground hidden sm:table-cell">
|
||||
{cred.host}
|
||||
</td>
|
||||
<td className="px-3 py-2 text-muted-foreground hidden sm:table-cell">
|
||||
<span className="text-xs px-1.5 py-0.5 rounded bg-muted">
|
||||
{cred.type === 'ssh' ? 'SSH' : 'PAT'}
|
||||
</span>
|
||||
</td>
|
||||
<td className="px-3 py-2">
|
||||
<td className="px-3 py-2 text-muted-foreground hidden sm:table-cell">
|
||||
<span className="text-xs px-1.5 py-0.5 rounded bg-muted">
|
||||
{cred.type === 'ssh' ? 'SSH' : 'PAT'}
|
||||
</span>
|
||||
</td>
|
||||
<td className="px-3 py-2">
|
||||
<div className="flex items-center justify-end gap-1">
|
||||
<Button
|
||||
type="button"
|
||||
|
||||
Reference in new issue
Block a user