Reference Guide
1046 Brocade Fabric OS Command Reference
53-1004112-02
sshUtil
genkey prompts for user input on the following parameters:
passphrase
Accepts a string of arbitrary length. This operand is optional, but creating a pass phrase is
strongly recommended. A strong pass phrase is 10-30 characters long, fairly complex and
difficult to guess. and contains a mix of upper and lowercase letters, numbers, and
nonalphanumeric characters. There is no way to recover a lost pass phrase. If the pass
phrase is lost, a new key must be generated and copied to the corresponding public key to
other machines.
exportpubkey
Exports the public key from the switch to a specified remote host to support outgoing
connections from the switch to a remote host. This option can only be performed by a
configured user. The successfully exported public key must be appended to the
authorized_keys file on the remote host. Use the cat ~/.ssh/outgoing.pub >>
~/.ssh/authorized_keys command to append the file.
exportpubkey prompts for IP Address, remote directory, login name and password. Refer
to importpubkey for a description of these parameters.
delprivkey
Deletes the private key for outgoing connection from the switch. This option can only be
performed by a configured user. Deletion of a configured user's private keys effectively
blocks outgoing connections initiated by this user that rely on public key authentication with
a remote host.
delknownhost [-all]
Deletes the known host name or IP address from the file .ssh/known_hosts. This option can
only be performed by the authorized user. On deletion of a known host name or IP address
from the .ssh/known_hosts file, the next SSH connection prompts the user to accept a new
public key.
-all
Deletes all the known host names or IP addresses from the file.
genhostkey [-rsa | -dsa | -ecdsa]
Generates a host key and installs it on the switch.
showhostkey
Displays the host keys installed on the switch.
deletehostkey [-rsa | -dsa | -ecdsa]
Deletes the host keys installed on the switch.
help
Displays the command usage.
Examples To configure a user for public key authentication:
switch:admin> sshutil allowuser username
Allowed user has been successfully changed to username.