2023-05-03 10:38:57 +00:00
|
|
|
<div>
|
2024-01-07 15:23:41 +00:00
|
|
|
<h1>Create a new Private Key</h1>
|
|
|
|
<div class="subtitle ">Private Keys are used to connect to your servers without passwords.</div>
|
2023-09-15 13:39:25 +00:00
|
|
|
<x-forms.button class="mb-4" wire:click="generateNewKey">Generate new SSH key for me</x-forms.button>
|
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" />
|
|
|
|
<span class="pt-2 pb-4 font-bold 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">
|
2023-06-07 14:47:10 +00:00
|
|
|
Save Private Key
|
2023-05-25 12:05:44 +00:00
|
|
|
</x-forms.button>
|
2023-05-03 10:38:57 +00:00
|
|
|
</form>
|
|
|
|
</div>
|