Dell POWEREDGE M1000E User Manual

Page 1007

Advertising
background image

Fabric OS Command Reference

979

53-1002746-01

sshUtil

2

This command supports generation of a public/private key pair on the switch to enable outgoing
connections between a switch and a remote host. To set up incoming connections, you must first
generate the public/private key pair on a remote host and then import the public key to the switch. Use
the SSH utility ssh-keygen -t dsa to generate the keys on the remote host. Refer to your UNIX system
documentation for details on this command.

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.

Advertising