In this tutorial we will learn the default sftp port and how to change it to a different one. How to use the new ssh port with command line. Only once the user has logged in to the server using ssh can the sftp protocol be initiated.