From 6bfbd3bf027d22d86475d2a75c45834bc625c74a Mon Sep 17 00:00:00 2001 From: Tomo Norman Date: Thu, 7 Oct 2021 10:50:09 +0900 Subject: [PATCH] DP-413 Saint Gobain SFTP Service DF Not Detecting SSH/Private Key Renamed privatekey and host fingerprint --- src/Components/SFTPFileSystem.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Components/SFTPFileSystem.php b/src/Components/SFTPFileSystem.php index ac1e8f5..4baff0b 100644 --- a/src/Components/SFTPFileSystem.php +++ b/src/Components/SFTPFileSystem.php @@ -11,6 +11,10 @@ class SFTPFileSystem extends FTPFileSystem */ protected function setAdapter($config) { + $config['privateKey'] = $config['private_key']; + unset($config['private_key']); + $config['hostFingerprint'] = $config['host_fingerprint']; + unset($config['host_fingerprint']); $this->adapter = new DFSftpAdapter($config); }