about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2024-11-15T12·34+0100
committerclbot <clbot@tvl.fyi>2024-11-15T14·53+0000
commitb72262ca3d66336b8995f9725bcfa468ee317f12 (patch)
tree42f94171afcd850bba1e5017f7f67683f987ce2f
parentced47f74b90c78837c2cb468153f17f673d70c03 (diff)
docs(sterni/machines/ingeborg): add example ssh config for unlock r/8928
Mostly it's important (which I did this time at least) to remember that
with how things work at the moment, the initrd sshd is only reachable
via IPv4.

Change-Id: Ie9a87b6a38b2e128a8a2141d2221bbe7cfe24cdb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12792
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
-rw-r--r--users/sterni/machines/ingeborg/network.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/sterni/machines/ingeborg/network.nix b/users/sterni/machines/ingeborg/network.nix
index fceb530d55d8..2e8731389dae 100644
--- a/users/sterni/machines/ingeborg/network.nix
+++ b/users/sterni/machines/ingeborg/network.nix
@@ -18,6 +18,13 @@ in
       initrd.network = {
         enable = true;
         ssh = {
+          # ssh_config:
+          # Host ingeborg-unlock
+          #     User root
+          #     HostName ingeborg.sterni.lv
+          #     AddressFamily inet # kernel commandline only gives ipv4
+          #     Port 22
+          #     UserKnownHostsFile /home/lukas/.ssh/initrd_known_hosts
           enable = true;
           authorizedKeys = depot.users.sterni.keys.all;
           hostKeys = [