Connecting with ssh, Establishing a ssh connection, Importing an ssh public key – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 64

Advertising
background image

Connecting with SSH

Connecting to a switch using the SSH (Secure Socket Handling) protocol permits a secure (encrypted)
connection.

For a listing and description of all configuration modes discussed here, refer to

Operational modes

on

page 55.

Establishing a SSH connection

A SSH (Secure Socket Handling) connection allows you to securely access a switch remotely.

You must be in privileged EXEC mode to make a SSH connection to a switch.

1. To establish an SSH connection with default parameters, enter ssh -l followed by the username you

want to use and the ip_address of the switch.

switch# ssh -l admin 10.20.51.68

2. Enter yes if prompted.

The authenticity of host '10.20.51.68 (10.20.51.68)' can't be established.

RSA key fingerprint is ea:32:38:f7:76:b7:7d:23:dd:a7:25:99:e7:50:87:d0.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '10.20.51.68' (RSA) to the list of known hosts.

[email protected]'s password: ********

WARNING: The default password of 'admin' and 'user' accounts have not been

changed.

Welcome to the Brocade Network Operating System Software

admin connected from 10.20.51.66 using ssh on C60_68F

NOTE
You can use the -m and -c options to override the default encryption and hash
algorithms.

switch# ssh -l admin -m hmac-md5 -c aes128-cbc 10.20.51.68

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, VDX6720-60, Event: sshutil,

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

Connecting with SSH

64

Network OS Administrator’s Guide

53-1003225-04

Advertising