(address . bug-guix@gnu.org)
At the moment the field (private-key) in /etc/guix/machines.scm expects
to be a file.
When you use GnuPG authentication keys for ssh logins, you have no
pubkey file, but you have a very long pubkey which can be used with
~/.ssh/authorized_keys and similar mechanisms.
Example:
user@abyayala ~/src/guix/guix$ cat /etc/guix/machines.scm
(list (build-machine
…
(privat-key "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDgRM0G+Dnl/wlrHNb9sr3/yW9tHA8weIbwvfly/NRW6LHSLIPvsLksabVQsYbUH6i2aK2ZlE3Oo+H/R2wrs7dmVCo57O4MbZk8Kb0fatN3qhq6g/+bNobVIexS5XN6g5JcmXM4ZzR8Q0rEd46oaxFWy8nDSw4RR1d+OU5/Z/LHR1VUTCQKU0Q1Jv//4YFVq/BEf6oj4SU9+/Li9kUo9f++i4PaiWyrQDm1FAYtMGW5MBKH3ohO1dlPgqNjdeqTjZfgvCMPdbyV6Xwtz7KVkCR0+r9u7JefCCKUXL3Ap4VPtjhyCLoRuqJ+ZIp9XR2wf3rVGR6KRcLWPEXLkGfAPCs+7uAnfReBxNiWYt+FHuQpeyUld8u8E0G8u9FSf/l25A85QrQK0EUrVHdFc1q8tcCeq0EomoIPl7GnwtDIwYmkWtViCz0ivVRvNBUTXvq0XtI/9kLgcBgKfzap8dLeVSXJrUhYlbcOZNnstzkmut1ce8my5TwSRzr2dxgUF8563cM3cdLu+C9bdMWvR/s4xwu6Q5opbehdFHd2Hj/Lnqv+xwNKNFkhZCHiyum8L/VKQAsboXgJ7/sB7CHsEcBif73RWj3bFcMnPHHlJgxXB1aOH4kM+y6fF8wW/bGC/9gGiYXzovdbopv3B89oyuT73aoXg4TIPz6gv6Bg1OiGpfseGw== (none)")
…
--
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://krosos.org/~/ng0/https://www.infotropique.org
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAllC2E8ACgkQ4i+bv+40
hYhY0RAAuIt0ttIBwjAxhPMOCJqXnr7+rbQ3BJPnazJXlPsz7k8+mudFlpPsJh4c
cijaQqFBPsrO1KnEU5EaiHkbT8avFFlYj4VnLIxd3hbUwGqZXf5w3fCpaQOBVZ06
ri8SWHn91FugPvp+MCnCdxrLEAoQxCF5HAMWJvCkPQUrSi3cA36zXQ6V7ZfPMmUm
arP48Q+fUGPF9ZDxKoWdJRDrhwDdkYxFjzBAKMbRYgRVv0Lmt7bDdV/ucSZjOoNU
CrkSVkBSncy6tFd1xdd21d+85q41qGU6T63vTGjjRlUrJDkCQAqinMcVgN/XXu7f
w/PxbIcQeLESx0yts/TfzYU9m/88KN+kMpKKoM+HS4EeHn7XZBR9EbKGFOtFPKFW
FopVWzv73toAYJFCtazGlS+vxwJx5dhWUJLojneqjEVuEDha/k12saqB6tQLeLNr
cVj8CnOggt66M/COSl3Hgh1aU9P58mVfD9uG3yZwhuSVPn5UZfmzYtFGVocg94Vo
ruPDpi+cnl6YYogFGr0XcUDMOX4upSNygc+uHt2/zHiW4UhCC3HeW1gyPF9PWkml
YN4g7/Ua3JRFUnh9Amfq2x54BhhX6NRNbOWhlzNpJMYq25skqtGW97b9rPwyxWRa
evli0DIRH6xWxNi4c5jEgu0MlWNYOo5st1QXOaMtNDMO38hGWlY=
=+Kom
-----END PGP SIGNATURE-----