2023-05-03 10:38:57 +00:00
|
|
|
<div>
|
2025-08-19 12:15:31 +00:00
|
|
|
<div class="pb-2 subtitle">
|
2024-10-21 12:22:07 +00:00
|
|
|
<div>Private Keys are used to connect to your servers without passwords.</div>
|
|
|
|
|
<div class="font-bold">You should not use passphrase protected keys.</div>
|
2024-04-03 11:45:49 +00:00
|
|
|
</div>
|
2024-10-21 12:22:07 +00:00
|
|
|
<div class="flex gap-2 mb-4 w-full">
|
|
|
|
|
<x-forms.button wire:click="generateNewEDKey" isHighlighted class="w-full">Generate new ED25519 SSH
|
|
|
|
|
Key</x-forms.button>
|
2024-09-16 15:24:42 +00:00
|
|
|
<x-forms.button wire:click="generateNewRSAKey">Generate new RSA SSH Key</x-forms.button>
|
2024-04-03 11:45:49 +00:00
|
|
|
</div>
|
2023-12-07 18:06:32 +00:00
|
|
|
<form class="flex flex-col gap-2" wire:submit='createPrivateKey'>
|
2023-06-07 14:47:10 +00:00
|
|
|
<div class="flex gap-2">
|
|
|
|
|
<x-forms.input id="name" label="Name" required />
|
|
|
|
|
<x-forms.input id="description" label="Description" />
|
|
|
|
|
</div>
|
2023-09-15 09:55:58 +00:00
|
|
|
<x-forms.textarea realtimeValidation id="value" rows="10"
|
|
|
|
|
placeholder="-----BEGIN OPENSSH PRIVATE KEY-----" label="Private Key" required />
|
2023-09-15 13:39:25 +00:00
|
|
|
<x-forms.input id="publicKey" readonly label="Public Key" />
|
2024-03-25 09:41:44 +00:00
|
|
|
<span class="pt-2 pb-4 font-bold dark:text-warning">ACTION REQUIRED: Copy the 'Public Key' to your server's
|
2023-09-15 09:55:58 +00:00
|
|
|
~/.ssh/authorized_keys
|
2023-09-15 13:39:25 +00:00
|
|
|
file</span>
|
2023-06-08 09:43:14 +00:00
|
|
|
<x-forms.button type="submit">
|
2024-01-29 15:33:01 +00:00
|
|
|
Continue
|
2023-05-25 12:05:44 +00:00
|
|
|
</x-forms.button>
|
2023-05-03 10:38:57 +00:00
|
|
|
</form>
|
|
|
|
|
</div>
|