ryan4yin / nixos-and-flakes-book

:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!

Home Page:https://nixos-and-flakes.thiscute.world

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Enhancement] Add troubleshooting subsection to `Remote Deployment`

miooochi opened this issue · comments

commented

Proposal

Add an addtitional troubleshooting subsection in Remote Deploy followed by Deploy through nixos-rebuild. Also, include workarounds to SSH related issues that end-users might encounter.

Background

Recently, I've decided to give colmena a try. In general, everything works as expected. Yet, I do have a few complaints when it comes to troubleshooting.

An issue I recently found was that if a host's IP has been changed over time (VM environment), we are supposed to remove the host entry in $HOME/.ssh/known_hosts on the host machine (Laptop | Desktop). Otherwise, colmena will complain not be able to remote SSH connection denied.

Workaround

ssh-keygen -R <remote-machine-ip>