$ ssh -T [email protected]
/c/Users/user/.ssh/config line 1: no argument after keyword "host*"
/c/Users/user/.ssh/config line 5: no argument after keyword "identityfile~/.ssh/id_ed25519"
/c/Users/user/.ssh/config: terminating, 2 bad configuration options
1 Answer
The best way I found to do this was delete the config file from .SSH config (after making a copy), and then reconnect to the SSH you need. You can re-add them if you are using a tool like remote explorer in VScode and it will create a new config file for you. The ssh config file is overwriting the default ssh parameters when the connection is happening.
.ssh/configfile.host *andidentity file ~/.ssh/id_ed25519.IdentityFile, which is indeed without space betweenIdentityandFile.identityfile ~/.ssh/id_ed25519. Thanks for pointing that out.