I'm trying to copy few log files from the server to the local machine for further analyzing. I can log in the server with ssh
and enter in the directory.
I try to copy the files with the command,
scp root@logs.company.com:/srv/log/2018-05-08/payyex_prod_wallet_log /home/cherryl/Desktop
In the terminal I get output, Permission denied (publickey).
. What should I do? I use a Debian 8
machine.