User Tools

Site Tools


pfsense:squid:logging:access_squid_log_files_via_ssh

PFSense - Squid - Logging - Access Squid log files via SSH

Navigate to System → Advanced.

In Secure Shell section:

  • Secure Shell Server: Checked.


Download log files using the SCP

By default, Squid log files are located in /var/squid/logs/.

scp root@192.168.1.1:/var/squid/logs/*.log*

IMPORTANT: To use SSH/SCP, root needs to be used as the username with the standard admin password.

NOTE: For SCP access, you can use any program that supports this protocol.

For Windows it can be WinSCP, PSCP from PuTTY package, SCP from CygWin package, etc.

For example:

PSCP.exe [-pw password] root@192.168.1.1:/var/squid/logs/*.log*

In PSCP, you can specify a password, which allows you to fully automate the downloading of the log files, but leakage of this password can lead to serious problems.

pfsense/squid/logging/access_squid_log_files_via_ssh.txt · Last modified: 2021/01/06 11:51 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki