Brocade Fabric OS Command Reference Manual Supporting Fabric OS v7.0.0 (April 2011)

944 Fabric OS Command Reference
53-1001764-01
sshUtil
22
OPERANDS This command supports the following operands:
allowuser user name
Configures the specified user to perform public key authentication and all related
management operations for outgoing public key authentication. This operation
can only be performed by the default admin. The default admin is, by default, a
configured user. Only one user can be configured at any given time.
The following operand is required:
user name
Specifies login name for the configured user. The user must be in the switch user
database and must have admin privileges on the switch.
showuser
Displays the currently configured user. This operation can only be performed by
the default admin.
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.