User Tools

Site Tools


pfsense:squid:logging:access_squid_log_files_via_ssh

This is an old revision of the document!


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.exe root@192.168.0.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.0.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.1587548409.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki