Skip to content

Commit

Permalink
[gateway-plugin] add ssh gateway host key to accept list
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot committed Nov 22, 2023
1 parent 602fd5e commit 525a46a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ class GitpodConnectionProvider : GatewayConnectionProvider {
if (keyPair.hostKey != null) {
hostKeys = listOf(SSHHostKey(keyPair.hostKey.type, keyPair.hostKey.value))
}
val gatewayHostKeys = resolveHostKeys(ideUrl, connectParams)
hostKeys = hostKeys + gatewayHostKeys.orEmpty()

var userName = keyPair.userName
if (userName.isNullOrBlank()) {
Expand Down

0 comments on commit 525a46a

Please sign in to comment.