Re: Hoping for a working example of SFTP in PHP
| From: | David Spector | Date: | Mon, 01 Feb 2021 20:53:08 +0000 |
| Subject: | Re: Hoping for a working example of SFTP in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-327441@lists.php.net to get a copy of this message | ||
To all: I found out how to run SSH and I ran this:
ssh -p PORT -i KEY user@host
After verifying the new key, it gave me a remote command prompt!
Note that the user's password was not needed, nor the public key file!
So why can't I get sftp working in PHP using the same credentials?
Any experts here?
(I've run out of free time to reply interactively)
David