The ssh user command creates an SSH user.
The ssh user assign command assigns an existing public key to an SSH user.
The ssh user authentication-type command configures the authentication type of an SSH user.
The ssh user service-type command configures the service type for the SSH user.
The ssh user sftp-directory command configures the authorized directory of the SFTP service for SSH users.
The undo ssh user command deletes an SSH user.
The undo ssh user assign command deletes the binding between an SSH user and a public key.
The undo ssh user authentication-type command deletes the configured authentication mode.
The undo ssh user service-type command restores the default service type of an SSH user.
The undo ssh user sftp-directory command cancels the authorized SFTP service directory for an SSH user.
By default, no ssh user is created, public key is not assigned to the user, the authentication type of the SSH user is not configured, the service type of the SSH user is not configured, the authorized directory of the SFTP service for the SSH user is not configured.
ssh user user-name
ssh user user-name assign { rsa-key | dsa-key | ecc-key | sm2-key } key-name
ssh user user-name authentication-type { password | rsa | password-rsa | dsa | password-dsa | all | ecc | password-ecc | sm2 | password-sm2 | password-x509v3-rsa | x509v3-rsa }
ssh user user-name service-type { sftp | stelnet | snetconf } *
ssh user user-name sftp-directory directoryname
ssh user user-name assign pki pki-name
undo ssh user user-name authentication-type
undo ssh user user-name assign { rsa-key | dsa-key | ecc-key | sm2-key }
undo ssh user user-name assign pki
undo ssh user user-name service-type
undo ssh user user-name sftp-directory
undo ssh user [ user-name ]