summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/backend/sftp.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/backend/sftp.php')
-rw-r--r--apps/files_external/lib/backend/sftp.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_external/lib/backend/sftp.php b/apps/files_external/lib/backend/sftp.php
index dd0f5d8e2e0..c0bcd27c54b 100644
--- a/apps/files_external/lib/backend/sftp.php
+++ b/apps/files_external/lib/backend/sftp.php
@@ -43,6 +43,7 @@ class SFTP extends Backend {
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
])
->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
+ ->addAuthScheme(AuthMechanism::SCHEME_PUBLICKEY)
->setLegacyAuthMechanism($legacyAuth)
;
}