This topic describes how to configure an authorized SFTP server directory for SSH users.
If the ssh user username sftp-directory directoryname command is run but username specified in the command does not exist, an SSH user named username is created, and the authorized SFTP server directory is set to the configured directory. If no authorized SFTP server directory is configured, you can run the local-user user-name ftp-directory directory command to use the FTP server directory. If none of the authorized SFTP server directory, authorized FTP server directory, and the default authorized directory exist, the SFTP client fails to connect to the SSH server.
The system view is displayed.
The configuration is committed.