Thursday, March 09, 2023

Re: sftp-server listening port how-to

On 09/03/2023 19:47, Daniele Bonini wrote:
> Hello,
>
> I'm wondering if there is any chance to change the default
> listening port for sftp-server.
>
> NB: I'm using it on my Linoox VPS but I see from the man
> a given OpenBSD 2.8 port origin.
>
> Thanks, appreciated!
>
>
> -- Daniele Bonini


Since sftp uses ssh port, you can just change the port for sshd.
in sshd_config:

Port 22

change it to any number you want.

Thanks.

No comments:

Post a Comment