Dell Brocade G620 Brocade 8.0.1 Fabric OS Command Reference - Page 1069
importpubkey, ssh-genkey -t dsa, showpubkeys, delpubkey, genkey, ecdsa, sshutil import
View all Dell Brocade G620 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 1069 highlights
sshUtil importpubkey Imports a public key from a remote host to the local switch. The protocol used is SCP. This operation supports authentication for incoming connections. For this operation to succeed, a public/private key pair must be generated on the remote host prior to the import by issuing ssh-genkey -t dsa (a UNIX command). The command prompts for a user name for whom the public key is imported. Once the public key is imported successfully, the user for whom the key was imported can perform public key authentication with the switch from the remote host, on which the private key resides. importpubkey prompts for the following input parameters: Username Enter the user name for whom the key is imported. IP Address Enter the IP address for the remote host. IPv4 and IPv6 addresses are supported. remote directory Enter the path where the public key is stored on the remote host. The default directory where SSH stores public keys is ~username/.ssh. public key name Enter the name of the file in which the public key is stored on the remote host. This is a user-generated file name that must have a .pub extension. login name Enter the user login name for the remote host. password Enter the password for the remote user. showpubkeys Displays all imported public keys associated with the specified user. Public keys generated on the switch are not shown. This command interactively prompts for a username. username Enter the username for whom you want to display the public keys. delpubkey Deletes all imported public keys associated with a specified user on the switch or with all users. This command prompts for the user name associated with the public keys. Enter "all" to delete the public keys of all users. Deletion of a configured user's public keys effectively blocks incoming connections from this user that rely on public key authentication with the switch. genkey [-rsa | -dsa | -ecdsa] Generates a private or public key pair for the selected type on the local switch. This option can be performed only by a configured user. This option enables authentication for outgoing connections from the switch to a remote host. You must export the public key to a remote host to complete the setup. For incoming connections, the private or public key must first be generated on the remote host by issuing ssh-genkey -t dsa (a UNIX command), and then importing the public key from the remote host to the switch using the sshutil import command. Brocade Fabric OS Command Reference 53-1004112-02 1045