Перейти к основному контенту

How to Save Transferred Files in JumpServer

DFz8Kbb90nal0VRd-izobrazenie.png

JumpServer can save a copy of every file transferred during sessions using the RDP and SFTP protocols.

  1. Open the configuration file:

vi /opt/jumpserver/config/config.txt

  1. At the end of the file, add the parameter FTP_FILE_MAX_STORE on a new line, specifying the maximum file size in megabytes. JumpServer will ignore files larger than this limit.

For example, to allow files up to 100 MB:

FTP_FILE_MAX_STORE=100

Or, to save all files without practical limits, you can set a deliberately large value, such as 16 GB:

FTP_FILE_MAX_STORE=16384
  1. Restart JumpServer:

jmsctl restart
  1. If JumpServer is installed in a cluster, repeat the same configuration on all other JumpServer nodes in the cluster.