Skip to content

Commit

Permalink
DP-413 Saint Gobain SFTP Service DF Not Detecting SSH/Private Key
Browse files Browse the repository at this point in the history
Renamed privatekey and host fingerprint
  • Loading branch information
tomonorman authored and yaroslavmo committed Dec 2, 2021
1 parent 29bd900 commit 6bfbd3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Components/SFTPFileSystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 6bfbd3b

Please sign in to comment.