]> git.ipfire.org Git - thirdparty/mkosi.git/commit
SSH fixes 1401/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 20 Mar 2023 16:33:15 +0000 (17:33 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 20 Mar 2023 19:01:34 +0000 (20:01 +0100)
commit6adf59c8674101e76d77704d6d89d783f7eac97c
tree0bd705a161178b884cd7eecddaf19983a17e02fb
parent907b8434776485bf7f5f99d333aa5982535f57f5
SSH fixes

- Disable UsePAM to avoid a slow reverse DNS lookup
- Pass environ when runnning ssh to pass SSH_AUTH_SOCK
- Don't use a random CID, instead hash the machine name and take
the first 4 bytes as the CID
- Pull in sshd-keygen.target so the ssh key gets generated on boot.
mkosi/__init__.py