Add and use new personal ecc ssh key
This commit is contained in:
parent
39042cfc23
commit
087dd41a6c
@ -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
1
.pubkeys/collin-ecc.pub
Normal file
@ -0,0 +1 @@
|
||||
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLpK0kvNL8avs8jfsijQoQVwqzODFuwUDYHKauUSlX6lGSoUu1SRnQunOPQLDUgxaigxU9eWp29avXaiPZcP85c= openpgp:0x83F96525
|
Loading…
Reference in New Issue
Block a user