Add freia ssh config
This commit is contained in:
parent
23c50c3b10
commit
120f08772e
22
home/env/ssh.nix
vendored
22
home/env/ssh.nix
vendored
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
@ -20,6 +20,26 @@
|
|||
forwardAgent = true;
|
||||
};
|
||||
"git.ccfe.ac.uk".user = "git";
|
||||
"batch" = {
|
||||
user = "cxsbatch";
|
||||
hostname = "heimdall115.jetdata.eu";
|
||||
};
|
||||
"freia" = {
|
||||
hostname = "freia022.hpc.l";
|
||||
remoteForwards = [
|
||||
{
|
||||
bind.port = 6702;
|
||||
host.address = "localhost";
|
||||
host.port = 6702;
|
||||
}
|
||||
];
|
||||
};
|
||||
"freia???" = lib.hm.dag.entryAfter ["freia"] {
|
||||
hostname = "%h.hpc.l";
|
||||
};
|
||||
"freia*" = lib.hm.dag.entryAfter ["freia???"] {
|
||||
user = "elitherl";
|
||||
};
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs; [ sshfs ];
|
||||
|
|
Loading…
Reference in a new issue