From 5734225106ba7ab54ba7f2a60fd4f3daf7fd3024 Mon Sep 17 00:00:00 2001 From: Leonora Tindall Date: Sun, 19 Mar 2023 18:31:00 -0500 Subject: [PATCH] use explicit ssh_config --- ops/home/push | 7 ++----- ops/home/ssh_config | 8 ++++++++ 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100755 ops/home/ssh_config diff --git a/ops/home/push b/ops/home/push index 2134261..813ae4e 100755 --- a/ops/home/push +++ b/ops/home/push @@ -1,12 +1,9 @@ #!/usr/bin/env nix-shell #! nix-shell -p morph -i bash - +# set -e pushd $(dirname ${BASH_SOURCE[0]}) > /dev/null - -morph build --keep-result $@ ./network.nix -morph push $@ ./network.nix -morph deploy $@ ./network.nix switch +SSH_CONFIG_FILE=./ssh_config morph deploy $@ ./network.nix switch popd > /dev/null diff --git a/ops/home/ssh_config b/ops/home/ssh_config new file mode 100755 index 0000000..978149b --- /dev/null +++ b/ops/home/ssh_config @@ -0,0 +1,8 @@ +Host felonyspork + HostName home.nora.codes + +Host crimespoon + HostName 192.168.88.168 + +Host semaphorebravo + HostName 10.0.0.2