summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-11-01 09:42:00 -0600
committerBen Sima <ben@bsima.me>2021-11-01 09:42:08 -0600
commite71cabacfd3af0e4426d7cfd1edbabf564b8fd4d (patch)
tree58e1da92bc1af3103809960ff03b04ed6c14858c /lib
parent1ac010453cb451819bc1a4bc661cb1c2400b9386 (diff)
add sft config
Diffstat (limited to 'lib')
-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" = {