beautypg.com

Certutil import sshkey – Brocade Network OS Command Reference v4.1.0 User Manual

Page 104

background image

66

Network OS Command Reference

53-1003115-01

certutil import sshkey

2

certutil import sshkey

Imports the SSH public key for an SSH user from the remote host using the mentioned login
credentials and path name.

Synopsis

certutil import sshkey host remote_ip_address directory ssh_public_key_path user user_acct
password password login login_id [rbridge-id {rbridge-id | all}]

no certutil sshkey [rbridge-id {rbridge-id | all}]

Operands

directory path

Specifies the path to the certificate.

file filename

Specifies the SSH public key with a .pub extension.

host remote_ip

Specifies the IP address of the remote host.

login login_id

Specifies the login name in the remote host.

password password

Specifies the password to access the remote host.

rbridge-id

Enables RBridge ID mode to support Virtual Cluster Switching (VCS) on
individual nodes.

rbridge-id

Specifies a unique identifier for a node.

all

Specifies all identifiers for a node.

user user_acct

Specifies the user name to access the remote host.

Defaults

None

Command Modes

Privileged EXEC mode

Description

Use this command to import an SSH public key from a remote host for a specified user.

Usage Guidelines

Enter no certutil sshkey user to delete the SSH public key a specified user.

The rbridge-id operand is supported in VCS mode only.

Examples

In Standalone mode

The following command imports a public CA certificate:

switch# certutil import sshkey user admin host 10.70.4.106 directory

/users/home40/bmeenaks/.ssh file id_rsa.pub login fvt

Password: ***********

switch# 2012/11/14-10:28:58, [SEC-3050], 75,, INFO, VDX6720-60, Event: sshutil,

Status: success, Info: Imported SSH public key from 10.70.4.106 for user 'admin'.

The following command deletes the SSH public key for “testuser.”

switch# no certutil sshkey user testuser

Do you want to delete the SSH public key file? [y/n]:y

switch# 2012/11/11-13:46:05, [SEC-3050], 3295,, INFO, VDX6720-24, Event: sshutil,

Status: success, Info: Deleted SSH public keys associated to user 'testuser'.

In VCS mode

The following command imports a public CA certificate:

switch# certutil import sshkey user admin host 10.70.4.106 directory

/users/home40/bmeenaks/.ssh file id_rsa.pub login fvt rbridge-id 3