NetBox — SFTP/SCP/FTP/FTPS/WebDAV client
- Michael Lukashov
- Posts: 516
- Joined: Mon 23 Jan, 2006 09:38
- Has thanked: 6 times
- Been thanked: 21 times
- Contact:
- HaRT
- Moderator
- Posts: 10806
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 220 times
- Been thanked: 357 times
NetBox — SFTP/SCP/FTP/FTPS/WebDAV client
Latest post of the previous page:
I'd suggest checking the plug-in GUID rather than panel prefix, as that's more reliable:
win.Uuid(panel.GetPanelInfo(nil,1).OwnerGuid):upper()=='42E4AEB1-A230-44F4-B33C-F195BB654931'
Last edited by HaRT on Sun 13 Mar, 2022 14:46, edited 1 time in total.
Reason: Added suggested check code
Reason: Added suggested check code
Фар есть инструмент, а не нянька. © 2009 DrKnS
- HaRT
- Moderator
- Posts: 10806
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 220 times
- Been thanked: 357 times
NetBox — SFTP/SCP/FTP/FTPS/WebDAV client
And yet slightly shorter:
panel.GetPanelInfo(nil,1).OwnerGuid==win.Uuid'42E4AEB1-A230-44F4-B33C-F195BB654931'
Фар есть инструмент, а не нянька. © 2009 DrKnS
-
- Posts: 6815
- Joined: Thu 23 Mar, 2006 21:36
- Location: Israel
- Has thanked: 41 times
- Been thanked: 526 times
NetBox — SFTP/SCP/FTP/FTPS/WebDAV client
As a file with extension
.lua
in %FARPROFILE%\Macros\scripts
.NetBox - SSH-2.0-OpenSSH_9.2
Hello,
I use NetBox for FTP and SFTP. Today, after updating our hosting server, my SFTP authentication via Private key file stopped working. I compared my connection to other servers with the same key and found that it does not authenticate to "Server version: SSH-2.0-OpenSSH_9.2". With the same key I tried connecting via PuTTY and WinSCP, here everything works fine, so the problem is probably on the NetBox side. In the attachment I am sending two logs from the connection for comparison - functional and non-functional.
Can you advise me where the error may be? I would hate to stop using NetBox.
Thank you. P.
I use NetBox for FTP and SFTP. Today, after updating our hosting server, my SFTP authentication via Private key file stopped working. I compared my connection to other servers with the same key and found that it does not authenticate to "Server version: SSH-2.0-OpenSSH_9.2". With the same key I tried connecting via PuTTY and WinSCP, here everything works fine, so the problem is probably on the NetBox side. In the attachment I am sending two logs from the connection for comparison - functional and non-functional.
Can you advise me where the error may be? I would hate to stop using NetBox.
Thank you. P.
- Attachments
-
- non-functional.log
- (8.3 KiB) Downloaded 34 times
-
- functional.log
- (9.5 KiB) Downloaded 30 times
Last edited by perverez on Wed 14 Jun, 2023 11:01, edited 1 time in total.
NetBox - SSH-2.0-OpenSSH_9.2
Your "non-functional" server apparently doesn't accept RSA keys (ssh-rsa). Create a ECDSA or EdDSA key, add it to the server configuration, and it will work (I am using ssh-ed25519).
Note that Netbox requires its keys in the PPK version 2 format, not PPK version 3 which is the default these days (see "Key -> Parameters for saving key files" in puttygen).
Note that Netbox requires its keys in the PPK version 2 format, not PPK version 3 which is the default these days (see "Key -> Parameters for saving key files" in puttygen).
NetBox — SFTP/SCP/FTP/FTPS/WebDAV client
pepak,
Hello, thank you for your reply. I don't think the problem is not accepting RSA keys (ssh-rsa). As I wrote, I tried the same key under PuTTY and under WinSCP, where it works without any problem. Changing the key to ssh-ed25519 solved the problem, but I don't think it's a complete solution.
Hello, thank you for your reply. I don't think the problem is not accepting RSA keys (ssh-rsa). As I wrote, I tried the same key under PuTTY and under WinSCP, where it works without any problem. Changing the key to ssh-ed25519 solved the problem, but I don't think it's a complete solution.