Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaša Živkov2018-10-04 12:08:41 +0000
committerSaša Živkov2018-10-18 09:59:16 +0000
commitb6e2800560dbf7348dcc1965e9069863ef96e4f5 (patch)
treee022f2d40b07f4e9acce2c99ec7b35b1234d92be /org.eclipse.jgit.lfs.server
parent6dd50d2e1bb3ec8a5bfa6a2fa3782af32fac5abc (diff)
downloadjgit-b6e2800560dbf7348dcc1965e9069863ef96e4f5.tar.gz
jgit-b6e2800560dbf7348dcc1965e9069863ef96e4f5.tar.xz
jgit-b6e2800560dbf7348dcc1965e9069863ef96e4f5.zip
ssh: Prefer algorithms of the known host keys
JSch prefers ssh-rsa key type. When the remote server supports ssh-rsa key type then this key type will be used even if the known_hosts file contains a host key for that host, but with different key type. This caused an unexpected UnknownHostKey error. To fix the issue first scan the known_hosts, the HostKeyRepository in JSch API, for any already existing host keys for the target host and modify the default session settings to prefer their algorithms. However, do this only if there is no HostKeyAlgorithms setting active. Change-Id: I236df2a860ddd9289a0a820ddf09c2dea3673d36
Diffstat (limited to 'org.eclipse.jgit.lfs.server')
0 files changed, 0 insertions, 0 deletions

Back to the top