diff options
author | Ben Sima <ben@bsima.me> | 2021-11-01 09:42:00 -0600 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-11-01 09:42:08 -0600 |
commit | e71cabacfd3af0e4426d7cfd1edbabf564b8fd4d (patch) | |
tree | 58e1da92bc1af3103809960ff03b04ed6c14858c | |
parent | 1ac010453cb451819bc1a4bc661cb1c2400b9386 (diff) |
add sft config
-rw-r--r-- | lib/common.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/common.nix b/lib/common.nix index 461ac92..b51d3fe 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -207,6 +207,11 @@ in forwardAgent = true; extraConfig = '' StrictHostKeyChecking=accept-new + + # sft ssh-config + Match exec "/usr/local/bin/sft resolve -q %h" + ProxyCommand "/usr/local/bin/sft" proxycommand %h + UserKnownHostsFile "/Users/bsima/Library/Application Support/ScaleFT/proxycommand_known_hosts" ''; matchBlocks = { "github.com" = { |