SFTP Port

Get help for specific problems
Posts: 3
Joined: 3 Jul 2015

sirius533

Hi there.

I'm very much appreciating the new sftp feature! Is there a way to specify the port??? I'm using a non-default port number...

Best Regards, sirius533
Posts: 22
Joined: 6 Sep 2014

ferblaha

yes, please can you provide an example of how to configure an ftp connection please? thank you. Excellente work!

Fernando
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Currently FFS let's Windows automatically determine the port, which it retrieves from
%WINDIR%\system32\drivers\etc\services
ssh 22/tcp

In case a non-default port is used: Shouldn't the above file be adapted then?
Posts: 22
Joined: 6 Sep 2014

ferblaha

But you dont always use the default port, sometimes you can use one port, and for other connections use another port.
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

Looks like I'll have to add an option for "port"...
Posts: 3
Joined: 3 Jul 2015

sirius533

Hi. Yes, the default port number is 22, but I'm just running my SFTP server on an alternative port (e.g. 2222) to increase security. This port is then opened in my router config to access it remotely.

It would be great if the port number could be specified in FreeFileSync's SFTP dialog, perhaps in an additional input field. Or alternatively directly in the URL, e.g. sftp://myhome.com:2222, like in web browsers...

Best, sirius533
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

The "port" option has been added:
[404, Invalid URL: https://freefilesync.org/FreeFileSync_7.3_beta_Windows_Setup.exe]
Posts: 22
Joined: 6 Sep 2014

ferblaha

Thanks Zenju! Will try it.
Posts: 3
Joined: 3 Jul 2015

sirius533

Just awesome!! Works perfectly for me! Thank you, Zenju!
Posts: 2
Joined: 7 Jul 2009

riccard0

It would be great to have a private/public key autentication!
Ciao, Riccardo
Posts: 22
Joined: 6 Sep 2014

ferblaha

Perfect Zenju! Thanks for your great work.