---
title: Issues Collecting Logs Via SFTP Collection Due To Account Has Expired In Log Collector/Remote (Virtual) Log Collector for RSA NetWitness Platform
description: "Issue\nDuring the File collection event source integration, the below error is received during the sftp connection on the event source.sample1:\n2020-09"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/issues-collecting-logs-via-sftp-collection-due-to-account-has-expired-in-log-collector-remote-virtual-log-collector-for-rsa-netwitness-platform#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

# Issues Collecting Logs Via SFTP Collection Due To Account Has Expired In Log Collector/Remote (Virtual) Log Collector for RSA NetWitness Platform

#### Issue

 During the File collection event source integration, the below error is received during the sftp connection on the event source.

sample1:

 2020-09-24 16:24:35 ERROR stderr: I've read & consent to terms in IS user agreement.   
2020-09-24 16:24:35 ERROR stderr: Your account has expired; please contact your system administrator   
2020-09-24 16:24:35 ERROR stderr: Connection closed by xx.xx.xx.xx   
2020-09-24 16:24:35 ERROR stderr: Couldn't read packet: Connection reset by peer

sample2:

 E:\\sasftpagent\> **psftp -i private.ppk -l sftp -v X.X.X.X**   
Connecting to X.X.X.X port 22   
We claim version: SSH-2.0-PuTTY\_Release\_0.70   
Server version: SSH-2.0-OpenSSH\_7.4   
Using SSH protocol version 2   
Doing ECDH key exchange with curve nistp256 and hash SHA-256   
Server also has ssh-rsa host key, but we don't know it   
Host key fingerprint is:   
Host key was located in the environment   
Initialized AES-256 SDCTR client-\>server encryption   
Initialized HMAC-SHA-256 client-\>server MAC algorithm   
Initialized AES-256 SDCTR server-\>client encryption   
Initialized HMAC-SHA-256 server-\>client MAC algorithm   
Reading key file "private.ppk"   
Using username "sftp".   
server unexpectedly closed network connection   
Fatal: server unexpectedly closed network connection

#### Cause

 For File Collection, event sources connect to the Log Collector(LC)/Remote Log Collector(VLC) through the sftp user, and connection denied is due to the sftp user being expired or inactive in LC/VLC.

         ![User-added](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_0_31903eb3-027d-413e-86a3-b8359c301b4d.jpg)

#### Resolution

 In order to reset the user, please follow the below steps in LC/VLC.

1. Connect to the LC/VLC via SSH as the root user.
2. Run the below command to change the sftp user account password expiration to never.  
       
   
    \[root@VLC01 ~\]# chage -I -1 sftp
3. Change sftp user password with a temporary password.
   
    \[root@VLC01 ~\]#passwd sftp   
   Changing password for user sftp.   
   New password:   
   Retype new password:   
   passwd: all authentication tokens updated successfully.
4. Run 'chage -l sftp' command and verify sftp user current aging information.
   
         ![User-added](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_1_18c0cf52-262d-44e2-8c67-6530e1a73f72.jpg)

#### Product Details

**RSA Product Set:** RSA NetWitness Platform   
**RSA Product/Service Type:** Core Appliance   
**RSA Version/Condition:** 11.x   
**Platform:** CentOS   
**O/S Version: 7**

#### Approval Reviewer Queue

RSA NetWitness Suite 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.