Access a Host Through SSH on NixOS

Posted on March 23, 2025 Tags: nix , server Scaffolding Generate a SSH keypair Configuration for the Server Host Configuration for the Client Host Cleanup Conclusion Let’s see how to grant ourselves ssh access form a client host to a server host using NixOS. This post assumes you can already deploy to the server host, by means of another ssh key. So this is not about bootstrapping a server. Here,…