OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: sammy on March 11, 2025, 05:01:38 PM

Title: sftp plugin error
Post by: sammy on March 11, 2025, 05:01:38 PM
I'm encountering an issue with SFTP when using the GUI, receiving the error: "Load key '/conf/backup/sftp/identity': error in libcrypto." However, SFTP works fine from the CLI. Any ideas on what might be causing this?
Title: Re: sftp plugin error
Post by: franco on March 11, 2025, 06:25:35 PM
https://github.com/opnsense/plugins/issues/4582

Windows style line endings apparently.
Title: Re: sftp plugin error
Post by: meyergru on March 11, 2025, 06:52:55 PM
I just proposed a fix.
Title: Re: sftp plugin error
Post by: sammy on March 11, 2025, 08:57:27 PM
thank you, how do I apply the fix?
Title: Re: sftp plugin error
Post by: newsense on March 11, 2025, 11:15:30 PM
opnsense-patch https://github.com/opnsense/plugins/commit/00cb3e9dbeb3ebc35641738f09dee805fb48450c
A reboot may be required...
Title: Re: sftp plugin error
Post by: sammy on March 12, 2025, 02:20:46 AM
thank you!
Title: Re: sftp plugin error
Post by: craig_ on March 12, 2025, 07:35:03 AM
Quote from: newsense on March 11, 2025, 11:15:30 PM opnsense-patch https://github.com/opnsense/plugins/commit/00cb3e9dbeb3ebc35641738f09dee805fb48450c
A reboot may be required...

This fixed the issue. I did not need to reboot. I did re-enter the private key, however.
Title: Re: sftp plugin error
Post by: franco on March 12, 2025, 07:44:57 AM
I'll hotfix this later today.


Cheers,
Franco