19 lines
873 B
PHP
Raw Normal View History

2023-05-03 12:38:57 +02:00
<div>
2023-06-07 16:47:10 +02:00
<form class="flex flex-col gap-2" wire:submit.prevent='createPrivateKey'>
<div class="flex gap-2">
<x-forms.input id="name" label="Name" required />
<x-forms.input id="description" label="Description" />
</div>
2023-09-15 11:55:58 +02:00
<x-forms.textarea realtimeValidation id="value" rows="10"
placeholder="-----BEGIN OPENSSH PRIVATE KEY-----" label="Private Key" required />
<x-forms.button wire:click="generateNewKey">Generate new SSH key for me</x-forms.button>
<x-forms.textarea id="publicKey" rows="6" readonly label="Public Key" />
<span class="font-bold text-warning">ACTION REQUIRED: Copy the 'Public Key' to your server's
~/.ssh/authorized_keys
file.</span>
2023-06-08 11:43:14 +02:00
<x-forms.button type="submit">
2023-06-07 16:47:10 +02:00
Save Private Key
2023-05-25 14:05:44 +02:00
</x-forms.button>
2023-05-03 12:38:57 +02:00
</form>
</div>