Topic: Change SFTP port

Is it possible to run the SFTP Server on another port different from the SSH port 22?

Kind regards,
J.

Re: Change SFTP port

Hi,

Yes, just update your OpenSSH config (in /etc/ssh/sshd_config)

Re: Change SFTP port

Hi,

But it isn't possible to keep SSH default on port 22 and SFTP on another one?
Our servers is configured to have SSH (22) access on the internal NIC, but it is blocked for the external NIC. Though there's need for SFTP access on the external NIC without having SSH access fully open.

Re: Change SFTP port

Hi,

Maybe it's possible with "ForceCommand" and "Match" ?