---
title: NetWitness File Collection Stops After Upgrade to 12.4
description: "Issue\nFile Collection using SFTP agent on Windows stops after upgrade to 12.4.\n\nCause\nThe 12.4 version upgrades the openSSH package from 7.4 to 8.0 wh"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/netwitness-file-collection-stops-after-upgrade-to-12-4#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

# NetWitness File Collection Stops After Upgrade to 12.4

#### Issue

File Collection using SFTP agent on Windows stops after upgrade to 12.4.

#### Cause

 The 12.4 version upgrades the openSSH package from 7.4 to 8.0 which no longer accepts SSH keys with 1024 bit lengths.   
This is can be clearly seen in the /var/log/secure when trying to initiate the connection from the SFTP agent's side:

 May 2 11:31:12 EPLH sshd\[2123009\]: error: userauth\_pubkey: **could not parse key: Invalid key length** \[preauth\]   
May 2 11:31:12 EPLH sshd\[2123009\]: error: Received disconnect from 192.168.255.33 port 61223:14: No supported authentication methods available \[preauth\]   
May 2 11:31:12 EPLH sshd\[2123009\]: Disconnected from authenticating user sftp 192.168.255.33 port 61223 \[preauth\]

Error from the SFTP agent's side:   
 

 C:\\sasftpagent\>psftp -i private.ppk -l sftp -v 192.168.89.104   
Connecting to 192.168.89.104 port 22   
We claim version: SSH-2.0-PuTTY\_Release\_0.70   
Server version: SSH-2.0-OpenSSH\_8.0   
Using SSH protocol version 2   
Doing ECDH key exchange with curve Curve25519 and hash SHA-256   
Server also has ssh-rsa host key, but we don't know it   
Host key fingerprint is:   
ecdsa-sha2-nistp256 256 bc:ed:6e:17:82:c6:2a:dd:b1:f4:40:09:90:56:06:b1   
Host key was located in the environment   
Initialised AES-256 SDCTR client-\>server encryption   
Initialised HMAC-SHA-256 client-\>server MAC algorithm   
Initialised AES-256 SDCTR server-\>client encryption   
Initialised HMAC-SHA-256 server-\>client MAC algorithm   
Reading key file "private.ppk"   
Using username "sftp".   
I've read & consent to terms in IS user agreement.   
Offered public key   
Server refused our key   
Server refused our key   
Disconnected: No supported authentication methods available (server sent: publickey)   
Fatal: Disconnected: No supported authentication methods available (server sent: publickey)

#### Resolution

 To resolve this issue, a new SSH having a bit length of 2048 bits or more has to be generated.

**Steps to generate a new SSH key pair for the SFTP agent:**   
1\) On the windows host, open the sasftpagent directory (where the NetWitness SFTP agent is installed)   
2\) Open puttygen.exe   
3\) Edit the key parameters in the bottom section, make sure to set the bit length to 2048 or more then click generate:

![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_0_ab328247-e9e6-4b81-bcf3-448e5de84f07.jpg)

4\) Generate some randomness by moving the mouse cursor inside the blank area   
5\) Once the key is generated, copy the public key from the textbox directly:

![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_1_126f2109-541d-4081-bb68-69f89d6056cd.jpg)

6\) Paste the key directly into the Log Collector/VLC file collection event source then hit Save. (Admin\>Services\>Log Collector\>View\>Config\>Event Sources\>File\>Event Category\>Source\>Edit):

![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_2_7a57b782-2c5a-4cdc-b18a-9596e6399f4f.jpg)   
7\) Back to the Windows host, click on "Save Private Key" then click Yes, name the file and choose where to save it   
8\) Once saved, open an Administrator CMD in the sasftpagent directory, and run the below command:   
 

 psftp -i \<path\\to\\private key\> -l sftp -v 192.168.89.104 

 9\) Here's the expected output:

 C:\\sasftpagent\>psftp -i private.ppk -l sftp -v 192.168.89.104   
Connecting to 192.168.89.104 port 22   
We claim version: SSH-2.0-PuTTY\_Release\_0.70   
Server version: SSH-2.0-OpenSSH\_8.0   
Using SSH protocol version 2   
Doing ECDH key exchange with curve Curve25519 and hash SHA-256   
Server also has ssh-rsa host key, but we don't know it   
Host key fingerprint is:   
ecdsa-sha2-nistp256 256 bc:ed:6e:17:82:c6:2a:dd:b1:f4:40:09:90:56:06:b1   
Host key was located in the environment   
Initialised AES-256 SDCTR client-\>server encryption   
Initialised HMAC-SHA-256 client-\>server MAC algorithm   
Initialised AES-256 SDCTR server-\>client encryption   
Initialised HMAC-SHA-256 server-\>client MAC algorithm   
Reading key file "private.ppk"   
Using username "sftp".   
I've read & consent to terms in IS user agreement.   
Offered public key   
Offer of public key accepted   
Authenticating with public key "rsa-key-20240506"   
Sent public key signature   
Access granted   
Opening session as main channel   
Remote debug message: /upload/.ssh/authorized\_keys:2: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding   
Remote debug message: /upload/.ssh/authorized\_keys:2: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding   
Opened main channel   
Started a shell/command   
Connected to 192.168.89.104   
Remote working directory is /upload 

For the detailed steps, you can follow [this YouTube video](https://www.youtube.com/watch?v=t_eSrYdR9lo&ab_channel=RSA), just make sure to set the key to 2048 or more.

#### Product Details

**NetWitness Product Set:** NetWitness Platform   
**NetWitness Product/Service Type:** Log Collector, SFTP Agent   
**NetWitness Version/Condition:** 12.4   
**Platform:** AlmaLinux   
**O/S Version:** 8.9

#### 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.