Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
memoriav
Memobase 2020
services
Import Process
Text File Validation
Commits
9e16c724
Commit
9e16c724
authored
Apr 07, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/kotlin/SftpClient.kt
View file @
9e16c724
...
...
@@ -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"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment