Skip to content

Provide a parameter to config ssh options #293

@isc-afuentes

Description

@isc-afuentes

Currently ssh command is like:

set newArgs($increment(newArgs)) = "core.sshCommand=ssh -F /dev/null -o StrictHostKeyChecking=accept-new -i "_privateKeyFile

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).

Metadata

Metadata

Assignees

Labels

customerBased on customer feedback (as opposed to something identified by developers)

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions