Your browser does not allow storing cookies. We recommend enabling them.

Tectia

Enabling SFTP Logging on OpenSSH Server

To start SFTP logging on an OpenSSH server, use the following command on the OpenSSH server:

-f AUTH -l DEBUG3

For example:

sftp  /usr/libexec/openssh/sftp-server -f AUTH -l DEBUG3

Restart the OpenSSH server.


 

 
What to read next:

  • Reduce Secure Shell risk. Get to know the NIST 7966.



    The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government.
    Download now
  • ISACA Practitioner Guide for SSH



    With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community.
    Download now