From e309e0448d3d6dd1a7073fafde2cce1deff9e0f8 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 23 Jun 2017 11:01:08 +0200 Subject: [PATCH] Add Karel's SSH key.. and also actually copy the authorized_keys. --- basic.sh | 3 +++ basic/root/.ssh/authorized_keys | 1 + 2 files changed, 4 insertions(+) diff --git a/basic.sh b/basic.sh index 6312ef9..aee0a6f 100644 --- a/basic.sh +++ b/basic.sh @@ -6,6 +6,9 @@ apt-get purge bsdmainutils dictionaries-common emacsen-common gnupg gnupg-agent # Install basic services and dependencies apt-get --no-install-recommends install openssh-server plymouth +# Copy authorized_keys +cp basic/root/.ssh/authorized_keys /root/.ssh/authorized_keys + # Rename encrypted partition sed -i 's/sda2_crypt/system/' /etc/crypttab dmsetup rename sda2_crypt system diff --git a/basic/root/.ssh/authorized_keys b/basic/root/.ssh/authorized_keys index caa45cd..7aa7f97 100644 --- a/basic/root/.ssh/authorized_keys +++ b/basic/root/.ssh/authorized_keys @@ -1 +1,2 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILc3Mu7OlKrV7VqDQZ31vT3I3JJxtNNBiemUTRQVOZ3I Disassembler +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDMLx88cP67gOmmwDj2vjnPZnZp4KT/aqAkIEVBasss073wtU+tHAia5qKB+PJau3WnUSid/ZVcwHNXgrXE69DS2ZlBQFFBCJdWKP1Pd528Ot66mw9FaZvxRLaeA60yxC9dTFD0WCyVJw3HSdkJf17NYTtKcPQcn5DGfrdPHX16C3KUxOJXveTBOiieWbkQ1uUCTYyfeR9Qj+RR0gPogK217dNxGd4F3PJ3hXPKWDVpSH9JBnpG64mab3krhb6/eMUnLPUUAtgF6b0vXWNahFlA3NsriQiJy5mroLQCL2feqfkGVKlbxpRwgkGOPph4UK6RgNehF7oPwni/zMQ2rjxbpIWredlOPNvU7F8BebiuU8K4/16tz6xRiSgYzpm9nTHvJaz3W12b8Co145zPcmIdRg5KCQDEf+xB7gfpK/uo3qmc7ddMtA4oqUztbAlpfW6qR+i4X5ed9LnWdMKoWeB5Xn52cbKuTvD1qmVWGm0IPF/r+hw7Gn97nyq1Oatn9LKTJaLZeaJ9b1nBGL56U5i+4hdZPema7tVgWEYfYKTq4hrKWdWwJjlpJjqZ2qLltJmkJMNji9Ve+xBe+nRjW9wNk7c7fDxPvJe45EbrqDQNFxXjw4CKOIIt/k6e/imrVf9S7Or4Vxi+OJCQLZYT8EPb/VUuPn0JhtpIlBvD3xCDjw== vampola.karel@gmail.com \ No newline at end of file