mirror of
https://github.com/kevinveenbirkenbach/hetzner-arch-luks.git
synced 2024-11-24 02:31:04 +01:00
In between commit
This commit is contained in:
parent
d668db08a3
commit
f14c6fe901
21
README.md
21
README.md
@ -124,6 +124,26 @@ The following links may help to solve the problem:
|
|||||||
cp -v ~/.ssh/authorized_keys /etc/dropbear/root_key
|
cp -v ~/.ssh/authorized_keys /etc/dropbear/root_key
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rm /etc/ssh/ssh_host_*
|
||||||
|
ssh-keygen -A -m PEM
|
||||||
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ssh-keygen -m PEM -p -b 8192 -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
|
||||||
|
ssh-keygen -m PEM -p -b 8192 -t rsa -f /etc/ssh/ssh_host_rsa_key
|
||||||
|
ssh-keygen -m PEM -p -b 8192 -t dsa -f /etc/ssh/ssh_host_dsa_key
|
||||||
|
ssh-keygen -y -f /etc/ssh/ssh_host_ecdsa_key > /etc/ssh/ssh_host_ecdsa_key.pub
|
||||||
|
ssh-keygen -y -f /etc/ssh/ssh_host_rsa_key > /etc/ssh/ssh_host_rsa_key.pub
|
||||||
|
ssh-keygen -y -f /etc/ssh/ssh_host_dsa_key > /etc/ssh/ssh_host_dsa_key.pub
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dropbearconvert openssh dropbear /etc/ssh/ssh_host_rsa_key /etc/dropbear/dropbear_rsa_host_key
|
||||||
|
dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key /etc/dropbear/dropbear_dss_host_key
|
||||||
|
```
|
||||||
#### 3.3 Modify /etc/mkinitcpio.conf
|
#### 3.3 Modify /etc/mkinitcpio.conf
|
||||||
:minidisc: :
|
:minidisc: :
|
||||||
```bash
|
```bash
|
||||||
@ -337,3 +357,4 @@ The code is adapted from the following guides:
|
|||||||
* https://www.howtoforge.com/using-the-btrfs-filesystem-with-raid1-with-ubuntu-12.10-on-a-hetzner-server
|
* https://www.howtoforge.com/using-the-btrfs-filesystem-with-raid1-with-ubuntu-12.10-on-a-hetzner-server
|
||||||
* https://code.trafficking.agency/arch-linux-remote-unlock-root-volume-with-mdraid-and-dmcrypt.html
|
* https://code.trafficking.agency/arch-linux-remote-unlock-root-volume-with-mdraid-and-dmcrypt.html
|
||||||
* https://wiki.archlinux.org/index.php/Dm-crypt/Specialties#Remote_unlocking_(hooks:_netconf,_dropbear,_tinyssh,_ppp)
|
* https://wiki.archlinux.org/index.php/Dm-crypt/Specialties#Remote_unlocking_(hooks:_netconf,_dropbear,_tinyssh,_ppp)
|
||||||
|
* https://gist.github.com/pezz/5310082
|
||||||
|
Loading…
Reference in New Issue
Block a user