By default sftp connections use the same port that ssh connections use. You need to configure the
sshd_config file to force sftp connections to use a port different from the ssh connections.
Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.