diff --git a/home/.ssh/config b/home/.ssh/config index 080ac75..fc93742 100644 --- a/home/.ssh/config +++ b/home/.ssh/config @@ -19,14 +19,24 @@ Host aur User aur host moria +{%@@ if profile == "Rivendell" @@%} + HostName moria.reekynet.lan + port 22 +{%@@ else @@%} HostName reekynet.com port 221 +{%@@ endif @@%} User balrog ForwardAgent yes host rivendell +{%@@ if profile == "Moria" @@%} + HostName rivendell.reekynet.lan + port 22 +{%@@ else @@%} HostName reekynet.com port 222 +{%@@ endif @@%} User gimli ForwardAgent yes