thephpleague / flysystem-sftp

[READ-ONLY SUBSPLIT] Flysystem Adapter for SFTP
308 stars 95 forks source link

Could not login with username: XXX #105

Open mdb983 opened 4 years ago

mdb983 commented 4 years ago

There appears to be a problem with sftp authentication using privateKey. The problem seems to be that the password (user) is set for "backward compatibility" if a passphrase is set, but no password. The problem arises if the sftp account doesn't have a password set, and there is a passphrase set for the privateKey.