lasthourcloud/resources/views/livewire/security/private-key/create.blade.php

26 lines
1.2 KiB
PHP
Raw Normal View History

2023-05-03 10:38:57 +00:00
<div>
2024-04-03 11:45:49 +00:00
<div class="pb-0 subtitle">
<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>
</div>
<div class="flex gap-2 mb-4">
<x-forms.button wire:click="generateNewRSAKey">Generate new RSA SSH Key</x-forms.button>
<x-forms.button wire:click="generateNewEDKey">Generate new ED25519 SSH Key</x-forms.button>
</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">
Continue
2023-05-25 12:05:44 +00:00
</x-forms.button>
2023-05-03 10:38:57 +00:00
</form>
</div>