Simplify work ssh config a bit

This commit is contained in:
Evie Litherland-Smith 2023-09-25 17:57:14 +01:00
parent 26da6a6bc6
commit 5fccc01dac

View file

@ -11,41 +11,9 @@
git.userEmail = "evie.litherland-smith@ukaea.uk";
ssh.matchBlocks = {
"git.ccfe.ac.uk" = { user = "git"; };
"freia" = {
hostname = "freia020.hpc.l";
localForwards = [
{
# Jupyter Lab
bind.port = 6702;
host.address = "localhost";
host.port = 6702;
}
{
# Dash/Plotly
bind.port = 8051;
host.address = "localhost";
host.port = 8050;
}
];
};
"freia".hostname = "freia020.hpc.l";
"freia???" = lib.hm.dag.entryAfter [ "freia" ] { hostname = "%h.hpc.l"; };
"heimdall" = {
hostname = "heimdall003.jet.uk";
localForwards = [
{
# Jupyter Lab
bind.port = 6703;
host.address = "localhost";
host.port = 6702;
}
{
# Dash/Plotly
bind.port = 8052;
host.address = "localhost";
host.port = 8050;
}
];
};
"heimdall".hostname = "heimdall003.jet.uk";
"heimdall???" =
lib.hm.dag.entryAfter [ "heimdall" ] { hostname = "%h.jet.uk"; };
"freia* heimdall*" =