Posted on

Magento 2 cloud: Copy file via ssh (locally)

Tryed to copy log file locally using scp.

scp [email protected]:var/log/payment.log /var/www/some-folder/payment.log

Result:

Could not create directory ‘/app/.ssh’.
Warning: Permanently added ‘ssh.ap-3.magento.cloud,52.65.30.37’ (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?

UPD:

At the moment, the problem is not observed.

Leave a Reply

Your email address will not be published.