Finally,
I'm disagreeable to set up a key convert for www-data to run scp in a php book via the php's exec use. The goal with the keys is to get around the password have.For certificate purposes, on the germ computer, my www-data exoteric and private keys people in their own non-home directory which is chmoded to 700. During key generation, I elected to love NO Arcanum Catchword. The open7 key has been successfully copied over to the removed server via ."ssh-copy-id -i /my/pubkey/filename extuser@remotehost".And added to extuser's authorized_keys file. The difficulty is, when I run the succeeding as www-data from the bid destination, it keeps asking for my watchword shibboleth."scp -i /my/pubkey/filename /home/www/randomFile extuser@remotehost:/home/extuser/".I've had no problems in the late when the keys are set in the Institution directory, but when placed in a NON-HOME dir, it's not cooperating. Any suggestions, please?



Reply With Quote
Copyright Techfuels
Bookmarks