Page tree

If you want to use the SSH key-based authentication to access a Subversion repository, specify the following authentication settings:

[auth "default"]
sshKeyFile = PATH
sshKeyFilePassphrase = passphrase

The sshKeyFile setting defines a path to the file that contains the SSH private key to log in to a Subversion repository. The path can be either absolute or relative to the Git repository.

Make sure that a SubGit user is granted the reading permissions for an SSH private key file.

The sshKeyFilePassphrase setting specifies a passphrase that can be optionally used to protect the SSH private key.

SubGit also requires a Subversion username when using the SSH key-based authentication. In this case, the username can be specified in one of the following settings:

[auth "default"]
userName = user

  • No labels