Tryed to copy log file locally using scp.

scp XXXX@ssh.ap-3.magento.cloud:var/log/payment.log /var/www/some-folder/payment.log


Could not create directory '/app/.ssh'.
Warning: Permanently added 'ssh.ap-3.magento.cloud,' (RSA) to the list of known hosts.
Permission denied (publickey).

magento-cloud repo:cat command returns only files from git.

Is there a way to copy a file locally from the cloud using console?

  • Do you run scp command on server or localy? – KAndy Nov 4 '19 at 23:48
  • @KAndy, yes. From cloud to local. – orthener Nov 5 '19 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.