HP StorageWorks 8/80 HP StorageWorks Fabric OS 6.1.x administrator guide (5697 - Page 91
IP Address, Remote directory, Login name, Password
View all HP StorageWorks 8/80 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 91 highlights
Example of adding the public key to the switch switch:alloweduser> sshutil importpubkey Enter IP address:192.168.38.244 Enter remote directory:~auser/.ssh Enter public key name(must have .pub suffix):id_dsa.pub Enter login name:auser Password: Public key is imported successfully. Exporting the public key for switch-to-host authentication (outgoing) 1. Log in to the switch as the allowed-user. 2. Use the sshUtil exportpubkey command to export the public key. 3. Respond to the prompts as follows: IP Address Enter the IP address of the remote host. IPv6 is supported by sshUtil. Remote directory Enter the path to the remote directory where the public key will be stored. Login name Enter the name of the user granted access to the remote host. Password Enter the password for the remote host. Example of exporting a public key from the switch pulsar067:kghanta> 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. Appending the public key on a remote host 1. Log in to the remote host. 2. Locate the directory where authorized keys are stored. You may need to refer to the hosts documentation to locate where the authorized keys are stored. 3. Appsend the public key to the file. Testing the setup Test your setup by using a command that uses SCP and authentication, such as firmwareDownload or a configUpload. Deleting keys on the switch 1. Log in to the switch as the allowed-user. 2. Use the sshUtil delprivkey command to delete the private key. or Use the sshUtil delpubkeys command to delete all public keys. Fabric OS 6.1.x administrator guide 91