-
Notifications
You must be signed in to change notification settings - Fork 11
Labels
customerBased on customer feedback (as opposed to something identified by developers)Based on customer feedback (as opposed to something identified by developers)
Description
Currently ssh command is like:
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).
isc-tleavitt
Metadata
Metadata
Assignees
Labels
customerBased on customer feedback (as opposed to something identified by developers)Based on customer feedback (as opposed to something identified by developers)