Add and use new personal ecc ssh key

This commit is contained in:
Collin J. Doering 2024-05-09 21:42:18 -04:00
parent 39042cfc23
commit 087dd41a6c
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
3 changed files with 9 additions and 3 deletions

View File

@ -20,6 +20,11 @@
(define %automation-user "auto")
(define %guix-key (local-file "../../../.pubkeys/guix-coordinator-key.pub"))
;; Keys used for ssh access
(define %deploy-key (local-file "../../../.pubkeys/deploy-key.pub"))
(define %collin-ecc-key (local-file "../../../.pubkeys/collin-ecc.pub"))
(define %collin-rsa-key (local-file "../../../.pubkeys/collin-rsa.pub"))
(define syslog-configuration
(plain-file "syslog.conf"
"
@ -83,9 +88,9 @@ mail.* -/var/log/maillog
(openssh-configuration
(password-authentication? #f)
(authorized-keys
`(("auto" ,(local-file "../../../.pubkeys/deploy-key.pub"))
("collin" ,(local-file "../../../.pubkeys/collin.pub"))
("root" ,(local-file "../../../.pubkeys/collin.pub"))))))
`(("auto" ,%deploy-key)
("collin" ,%collin-ecc-key ,%collin-rsa-key)
("root" ,%collin-ecc-key ,%collin-rsa-key)))))
(service prometheus-node-exporter-service-type)
(service dhcp-client-service-type)
(service ntp-service-type)

1
.pubkeys/collin-ecc.pub Normal file
View File

@ -0,0 +1 @@
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLpK0kvNL8avs8jfsijQoQVwqzODFuwUDYHKauUSlX6lGSoUu1SRnQunOPQLDUgxaigxU9eWp29avXaiPZcP85c= openpgp:0x83F96525