---
title: How to Configure File Event Source in NetWitness using the SFTP Transfer method for Linux servers
description: "Issue\nHow to Configure File Event Source in RSA Security Analytics using the SFTP Transfer method for Linux servers.\n\nResolution\nThis can be configure"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/how-to-configure-file-event-source-in-netwitness-using-the-sftp-transfer-method-for-linux-servers#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# How to Configure File Event Source in NetWitness using the SFTP Transfer method for Linux servers

#### Issue

How to Configure File Event Source in RSA Security Analytics using the SFTP Transfer method for Linux servers.

#### Resolution

This can be configured with the following steps:

> 1- Create a user account on both the LogCollector and the event source and assign a password for it.
> 
> 2- Create the directory /usr/local/nic on the event source server and make sure the account created in the previous step has full access to it (rwx).
> 
> 3- Make sure the created account on the event source has read access to the log files inside the logs location.
> 
> 4- Switch user to the user created in step 1 and generate a SSH Key pair with the following command, which will create a private key (id\_rsa) and public key (id\_rsa\_pub) in ~/.ssh/ by default.:  ssh-keygen -b 1024 -t rsa
> 
> 5- Copy the public key to the authorized keys on the LogCollector with the following command:  ssh-copy-id -i ~/.ssh/id\_rsa.pub
> 
> 6- Configure the event source in the SA UI Administration -\> Devices -\> LogCollector -\> Config  -\> Event Sources -\> File and take note of the Directory name.
> 
> 7- This will create a directory for this event source in /var/netwitness/logcollector/upload/
> 
> Make sure you assign full privileges (rwx) for the account created in step 1 to this directory and subdirectories.
> 
> 8- Download and configure the nicsftpagent.sh script following the instructions in the knowledgebase article [Understanding the sasftpagent.sh SFTP file transfer shell script and it's usage in RSA Security Analytics](https://mydev.netwitness.com/articles/en_US/How_To/a64914-Understanding-the-sasftpagent-sh-SFTP-file-transfer-shell-script-and-it-s-usage-in-RSA-Security-Analytics?navBack=H4sIAAAAAAAAAIuuVipVslLSjy_N1M_Oyy_PSU1JT9UHcrxhHI_83FT74tTEouQM2-K0kgLtnPz05PycnNTkkvwiJR2lYqB2FMVAsWygWEFiempIZklOqlJtLACJG1eBZgAAAA&popup=false&nonce=37764de626ff784183f72cf1e97306707ff186ae6813b71cd1a38a525c93a362&isWsVw=true&sfdcIFrameOrigin=https%3A%2F%2Fna5.salesforce.com&hsLang=en).
> 
> 9- SCP the script to /usr/local/nic on the event source and make sure the user created in step 1 has execute permissions on it.
> 
> 10- Execute the script with the user account created in step 1.
> 
> 11- When run successfully, you can schedule it in Cron.

#### Notes

Archiving this in favor of  [https://50269063.hs-sites.com/knowledge-base/677992](https://50269063.hs-sites.com/knowledge-base/677992?hsLang=en) (Configure SFTP Shell Script File Transfer Community maintained document)

#### Internal Comments

 UserName:shurtj   
8/7/2014 4:59:52 PM - Retired Article   
Retired article prior to Salesforce migration as required scripts are not available in the article.

UserName:shurtj   
8/7/2014 5:04:45 PM - Updated Article   
Updated the article to instead refer to KB article a64914 and published it as internal rather than external.

**Jaseel K - 7 May 2024**   
Updated 'Title', 'Applies To' and 'Categories' section.

#### Product Details

**NetWitness Product Set:** NetWitness Platform   
**NetWitness Product/Service Type:** All Nodes   
**NetWitness Version/Condition:** 11.x, 12.x or later   
**Platform:** CentOS/Alma Linux

#### Approval Reviewer Queue

Technical approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.