R3102-R3103-HP 6600/HSR6600 Routers Security Command Reference
362
publickey authentication or using both publickey authentication and password authentication, the
working folder is the one set by using the ssh user command.
Examples
# Create an SSH user named user1, setting the service type as sftp, the authentication method as
publickey, assigning a public key named key1 to the client, and the work folder of the SFTP server as
cfa0:
<Sysname> system-view
[Sysname] ssh user user1 service-type sftp authentication-type publickey assign publickey
key1 work-directory cfa0:
Related commands
• display ssh user-information
• pki domain
SSH client configuration commands
bye
Use bye to terminate the connection with the SFTP server and return to user view.
Syntax
bye
Views
SFTP client view
Default command level
3: Manage level
Usage guidelines
This command functions as the exit and quit commands.
Examples
# Terminate the connection with the SFTP server.
sftp-client> bye
Bye
Connection closed.
<Sysname>
cd
Use cd to change the working path on an SFTP server.
Syntax
cd [ remote-path ]
Views
SFTP client view










