How to Save Transferred Files in JumpServer
JumpServer can save a copy of every file transferred during sessions using the RDP and SFTP protocols.
-
Open the configuration file:
vi /opt/jumpserver/config/config.txt
-
At the end of the file, add the parameter
FTP_FILE_MAX_STOREon 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
-
Restart JumpServer:
jmsctl restart
-
If JumpServer is installed in a cluster, repeat the same configuration on all other JumpServer nodes in the cluster.
