HP StoreFabric SN6500B Administrator's Manual page 181

Fabric os administrator's guide, 7.1.0 (53-1002745-02, march 2013)
Hide thumbs Also See for StoreFabric SN6500B:
Table of Contents

Advertisement

4. Test the setup by logging in to the switch from a remote device, or by running a command
Configuring outgoing SSH authentication
After the allowed-user is configured, the remaining setup steps must be completed by the
allowed-user.
Use the following procedure to configure outgoing SSH authentication:
1. Log in to the switch as the default admin.
2. Change the allowed-user's permissions to admin, if applicable.
3. Set up the allowed-user by typing the following command:
4. Generate a key pair for switch-to-host (outgoing) authentication by logging in to the switch as
5. Export the public key to the host by logging in to the switch as the allowed-user and entering
6. Append the public key to a remote host by logging in to the remote host, locating the directory
7.
Fabric OS Administrator's Guide
53-1002745-02
Enter login name:auser
Password:
Public key is imported successfully.
remotely using SSH.
switch:admin> userconfig --change username -r admin
where the username variable is the name of the user who can perform SSH public key
authentication, and who can import, export, and delete keys.
switch:admin> sshutil allowuser username
where the username variable is the name of the user who can perform SSH public key
authentication, and who can import, export, and delete keys.
the allowed user and entering the sshUtil genkey command.
You may enter a passphrase for additional security.
Example of generating a key pair on the switch
switch:alloweduser> sshutil genkey
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Key pair generated successfully.
the sshUtil exportpubkey command to export the key.
Example of exporting a public key from the switch
switch:alloweduser> sshutil exportpubkey
Enter IP address:192.168.38.244
Enter remote directory:~auser/.ssh
Enter login name:auser
Password:
public key out_going.pub is exported successfully.
where authorized keys are stored, and appending the public key to the file.
You may need to refer to the host's documentation to locate where the authorized keys are
stored.
Test the setup by using a command that uses SCP and authentication, such as
firmwareDownload or configUpload.
Secure Shell protocol
6
181

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fabric os 7.1.0

Table of Contents