{ config, pkgs, lib, ... }:
{
programs.ssh = {
enable = true;
matchBlocks = {
<<<PereWork/home/ssh-hosts>>>
};
};
}
Login to git remotes using keys, instead of writing the password each time
"git.mvlabs.it" = {
user = "git";
identityFile = "~/.ssh/MVLabsGit";
};
"10.227.15.64" = {
identityFile = "~/.ssh/MVLabsGit";
};
What?
You must never share private keys!!!