User guide

Logging Into the Switch Using Secure Shell
OmniSwitch AOS Release 7 Switch Management Guide March 2015 page 2-13
6 Connect to the OmniSwitch using SSH with PKA.
#ssh -o PreferredAuthentications=publickey new_ssh_user@192.168.2.1 –v
Note. By default if PKA fails, the user is prompted for a password. This is the password that was speci-
fied when the user name was created on the OmniSwitch.
7 (Optional) To enforce Secure Shell PKA on a switch and not prompt for a password use the ssh
enforce-pubkey-auth command.
Revoking a Key
The following procedure can be used to revoke a key:
->revokesshkey new_ssh_user remote_ssh_user@192.168.10.1
Starting a Secure Shell Session from the OmniSwitch
To start a Secure Shell session, issue the ssh command and identify the IP address or hostname for the
device you are connecting to.
The following command establishes a Secure Shell interface from the local OmniSwitch to a remote
device:
-> ssh 198.51.100.50
login as:
You must have a login and password that is recognized by the IP address you specify. When you enter
your login, the device you are logging in to, will request your password as shown here:
-> ssh 198.51.100.50
Password:
Welcome to the Alcatel-Lucent OS6900-X40 7.3.3.384.R01 GA, December 08, 2013.
Copyright (c) 1994-2013 Alcatel-Lucent. All Rights Reserved.
OmniSwitch(tm) is a trademark of Alcatel-Lucent,
registered in the United States Patent and Trademark Office.
Once the Secure Shell session is established, you can use the remote device specified by the IP address on
a secure connection from your OmniSwitch.
Note. The login parameters for Secure Shell session login parameters can be affected by the
session login-attempt and session login-timeout CLI commands.