HP 6125G HP 6125G & 6125G/XG Blade Switches Security Configuration Gui - Page 222
Configuring SCP, Overview, Configuring the switch as an SCP server
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 222 highlights
Configuring SCP Overview Secure copy (SCP) is based on SSH2.0 and offers a secure approach to copying files. SCP uses SSH connections for copying files. The switch can act as the SCP server, allowing a user to log in to the switch for file upload and download. The switch can also act as an SCP client, enabling a user to log in from the switch to a remote server for secure file transfer. NOTE: When the switch acts as an SCP server, only one of the FTP, SFTP or SCP user can access the switch. Configuring the switch as an SCP server Step Command Remarks 1. Enter system view. system-view N/A 2. Configure the SSH server. For more information, see the security guide for your switch. N/A 3. Create an SSH user for a ssh user username service-type { all | scp } SCP client, set the authentication-type { password | { any | service type to all or scp, password-publickey | publickey } assign N/A and specify the publickey keyname work-directory authentication method. directory-name } • On the remote server (Details not 4. Create a user account shown.) and assign a working • On the switch: directory for the SSH user on the switch or a remote server if a. local-user b. password password authentication c. service-type ssh is used. d. authorization-attribute work-directory directory-name Skip this step if publickey authentication, whether with password authentication or not, is used. Make sure that the local user account has the name username as the username specified in the ssh user command. When you set the working directory for the user, follow these guidelines: • If only password authentication is used, the working directory specified in the ssh user command does not take effect. You must set the working directory on the remote server or in the local user account for the SSH user. • If publickey authentication, whether with password authentication or not, is used, you must set the working directory in the ssh user command. 212