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