Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Importing an SSH public key

Importing an SSH public key allows you to establish an authenticated login for a switch.

You must be in privileged EXEC mode to import an SSH public key to a switch.

  1. NOTE
    The following example allows you to import the SSH public key for the user "admin" from a remote host using the credentials shown.
    To import an SSH public key, enter certutil import sshkey, followed by user Username host IP_Address directory File_Path file Key_filename login Login_ID.
    switch# certutil import sshkey user admin host 10.70.4.106 directory /users/home40/bmeenaks/.ssh file id_rsa.pub login fvt
  2. Enter the password for the user.
    Password: ***********
    switch# 2012/11/14-10:28:58, [SEC-3050], 75,, INFO, VDX6740-48, Event: sshutil, Status: success, Info: Imported SSH public key from 10.70.4.106 for user 'admin'.
NOTE
If you are in VCS mode, you must enter RBridge ID configuration mode before issuing the command.
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