Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update ssh configuration files in NixOs

Tags:

nixos

I've been playing with NixOs and was wondering how one can modify a config file. For example I tried to modify the ssh configuration file /etc/ssh/ssh_config (to allow root ) but I can't save the file, as it's only a link. I understand that modifying a file manually is not the way to do (because the system needs be aware of the modification), so what is the NixOs way to do it ?

like image 357
mb14 Avatar asked Dec 19 '25 21:12

mb14


1 Answers

See programs.ssh options.

Also note there's an extraConfig for further text in ssh_config.

like image 107
lethalman Avatar answered Dec 24 '25 06:12

lethalman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!