SFTP Commands

Prev Next

SFTP (Secure File Transfer Protocol) CLI commands are categorized as follows:

Configuration Commands

This section includes the SFTP configuration command.

sftp port

Command Objective:
This command configures the default SFTP port number. An administrator can give numerical values from 1025 to 65535.

The no form of the command resets the SFTP port number to the default or standard SSH port number 22.

Syntax:
sftp port <port-number (1025-65535)>

no sftp port

Mode:
Global Configuration Mode

Example:

Your Product (config)# sftp port 2000

Display Commands

This section includes the SFTP display command.

show sftp port

Command Objective:
This command displays the default SFTP port number.

Syntax:
show sftp port

Mode:
Privileged EXEC Mode

Example:

Your Product (config)# show sftp port 
SFTP destination port number: 2000

© 2025 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks