Download accesslog to local machine
Hello,
I want to know an exact command or syntax to run on Terminal (Mac) as SSH to download the file "/usr/local/cpanel/logs/access_log" to my local Desktop folder.
Your contribution is appreciated,
Thanks in advance,
Regards.
-
I think mac terminals have scp. If so, scp -P22 root@your.host.name:/usr/local/cpanel/logs/access_log ./access_log Change 22 to your SSH port if it's non-standard. 0 -
Hello :) Yes, you can use the command suggested in the previous post for SCP, or download a SFTP client such as FileZilla if you prefer a graphical interface. Thank you. 0
Please sign in to leave a comment.
Comments
2 comments