diff options
-rw-r--r-- | ssh/config | 3 | ||||
-rwxr-xr-x | wsl.install | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,9 @@ Host * StrictHostKeyChecking no + ControlMaster auto + ControlPath ~/.ssh/control-%h-%p-%r + ControlPersist yes Host heimdall loki User pi diff --git a/wsl.install b/wsl.install index 6f46bca..4113a17 100755 --- a/wsl.install +++ b/wsl.install @@ -28,7 +28,7 @@ ln -sf $WINHOME ~/win # ssh-config sed -r 's|(RemoteForward\s+.+\s+)\/home\/tobyv\/\.gnupg\/S\.gpg-agent\.extra|\1127.0.0.1:4444|' \ - ${DOTFILES}/ssh/config >${DOTFILES}/ssh/win.config + ${DOTFILES}/ssh/config | sed '/Control/d' >${DOTFILES}/ssh/win.config # Create windows symlinks to dotfiles $mkln ssh/win.config ~/win/.ssh/config |