4 ms·
I've been meaning to enable this but I have a lot of hosts setup in ~/.ssh/config that is used by MINGW64's ssh (installed via Git for Windows). Does anyone kn
by dugmartin 8y ago
I've been meaning to enable this but I have a lot of hosts setup in ~/.ssh/config that is used by MINGW64's ssh (installed via Git for Windows). Does anyone know if Window's ssh client will pick up that config (or if having both ssh clients will cause issues)?
- Zekio 8y agoit will work if you add the ssh key to the ssh agent, I more or less copied my .ssh folder my WSL ubuntu install to my ~\.ssh folder and added my ssh key to the ssh agent :) EDIT: How ever to get tab completion on what is in your config file you will need something like https://github.com/lukesampson/pshazz https://github.com/lukesampson/pshazz
- sp332 8y agoYup, you can either put it in %UserProfile%\.ssh\ssh_config or pass the -F <config_file> flag.
- JonathonW 8y agoThe Windows ssh client pulls its config and keys from %USERPROFILE%/.ssh/, as does the Git for Windows ssh-- they can and will share the same config as long as the config's valid for both (OpenSSH is the same release, but the Windows build uses LibreSSL instead of OpenSSL, so you could conceivably write a config file that isn't compatible with both, I think?).