Currently ssh command is like: ```objectscript set newArgs($increment(newArgs)) = "core.sshCommand=ssh -F /dev/null -o StrictHostKeyChecking=accept-new -i "_privateKeyFile ``` * See https://github.com/intersystems/git-source-control/blob/main/cls/SourceControl/Git/Utils.cls#L1464C13-L1464C137 * This is setting ssh config file (-F) to `/dev/null` In some cases you need to specify a ssh config file to specify additional parameters. For instance, to connect some Git repos hosted in a TFS server we realised we needed to specify: ``` Host somehost HostName somehost IdentityFile C:\Users\someuser\.ssh\id_rsa IdentitiesOnly yes HostkeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes=ssh-rsa KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc ``` It would be great to have some parameter to specify the ssh config file to use (or no -F option at all so default is used).
Activity
isc-pbarton commentedon Oct 6, 2025
Ran into this with another customer last week. If we can set an SSH config file, that will allow organizations to use GitHub remotes with SSH even if they block outgoing traffic over port 22. See https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port#enabling-ssh-connections-over-https