summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common.nix5
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" = {