ashkulz / NppFTP

Plugin for Notepad++ allowing FTP, FTPS, FTPES and SFTP communications
https://ashkulz.github.io/NppFTP/
320 stars 93 forks source link

Wrong servers Fingerprint #283

Closed BugFixNo1 closed 2 years ago

BugFixNo1 commented 4 years ago

Sign in to SFTP account a Servers Fingerprint is shown.

Expected Behavior

The correct and propper Fingerprint must shown.

MD5 / SHA (ECDSA or RSA as 256 or 2048)

Actual Behavior

Login procedure shows the wrong Fingerprint... routing over something? Hacked?

Debug Information

Notepad++ v7.8.4 (32-bit) Build time : Jan 29 2020 - 01:33:47 Path : C:_PortableApps\PortableApps\Notepad++Portable\App\Notepad++\notepad++.exe Admin mode : OFF Local Conf mode : ON OS Name : Windows 10 Enterprise (64-bit) OS Version : 1809 OS Build : 17763.973 Plugins : AnalysePlugin.dll AutoSave.dll Autosave2.dll BetterMultiSelection.dll BracketsCheck.dll ColorPicker.dll ComparePlugin.dll DSpellCheck.dll Explorer.dll HTMLTag_unicode.dll ImgTag.dll JSMinNPP.dll LightExplorer.dll MultiClipboard.dll NppConverter.dll NppExec.dll NppExport.dll NppFTP.dll NppQCP.dll NppQrCode32.dll NppTextFX.dll NppToolBucket.dll PreviewHTML.dll QuickOpenPlugin.dll RunMe.dll SelectQuotedText.dll SpellChecker.dll SurroundSelection.dll Tidy2.dll Translate.dll WindowManager.dll XBrackets.dll zoomdisabler.dll _CustomizeToolbar.dll

0.29.4 Unicode

SFTP

Passwort

not anonymously accessible

chcg commented 2 years ago

@BugFixNo1 You could test against https://test.rebex.net/

And see the expected values at: https://sshcheck.com/server/test.rebex.net/

Locally after you accepted a key it could be found at: <N++ path>\plugins\Config\NppFTP\known_hosts with data, e.g.:

test.rebex.net ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOdXzF+Jx/wvEBun5fxi8FQK30miLZFND0rxkYwNcYlE

From https://sshcheck.com you could also test you server, if it is accessible via the internet. Seems no login is required for that step.