In order to mitigate against the brute force attacks against Gitlab accounts, we are moving to all edu-ID Logins. We would like to remind you to link your account with your edu-id. Login will be possible only by edu-ID after November 30, 2021. Here you can find the instructions for linking your account.

If you don't have a SWITCH edu-ID, you can create one with this guide here

kind regards

This Server has been upgraded to GitLab release 14.2.6

Commit 9e16c724 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Remove ssh.loadKnownHosts()

Does not work on CI Env
parent 6c9d2e9f
Pipeline #7326 failed with stages
in 1 minute and 32 seconds
......@@ -39,7 +39,7 @@ class SftpClient(sftpSettings: Properties) : Closeable {
private val instance: SFTPClient
init {
try {
ssh.loadKnownHosts()
// ssh.loadKnownHosts()
ssh.addHostKeyVerifier(sftpSettings.getProperty("fingerprint"))
ssh.connect(sftpSettings.getProperty("host"))
ssh.authPassword(sftpSettings.getProperty("user"), sftpSettings.getProperty("password"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment