Open he902 opened 3 years ago
From a first test with test.rebex.net (https://test.rebex.net/) and source code inspection it seems different ports should work. For rebex just with port 22 the connection is possible. With 40022 not connection is possible therefore at least no fallback to port 22 is used if 40022 is added to the port edit field in profile settings.
@he902 Have you tested the behaviour with some other sftp client like filezilla? Is it working as expected with that client?
Almost all servers that I use have SSH on alternative ports. Attacks on port 22 are too frequent, even if they'll never succeed. Machines I own or manage all have SSH on the alternative port, and not port 22. The firewall does protect it, but if there's a firewall mistake, it's best to take further countermeasures too.
I simply set the port number in the profile, with the Port: box. I've been using it for years without any trouble. I changed the port number to yours just for this screenshot.
I know your post is a bit old, but if you're still having trouble, I wouldn't mind helping you to work through it. I'm not part of the NppFTP team, I'm just a helpful user. Since there isn't anything wrong with NppFTP, there's no need for them to fix it.
Problem still persist, when you are using domain name for connection, and dont exisist if you use ip address!
got natted connection to two servers with different ssh port forwardings.
1st is on port 7802
2nd is on port 8807
if i use ip address got normal connection to two servers
if i use fqdn got link only to first one in profile list
My server has two SFTP ports 22 and 40022. When I set the NppFTP plugin Profile to use SFTP port 40022, NppFTP still connect to port 22.
The parameter "Port" in the Profile configuration does not take effect, it always use the default SFTP port 22. How to configure a different SFTP port (other than 22)?
I'm using NppFTP plugin version: 0.29.6