Logging Into the Switch
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
enforce-pubkey-auth
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
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 OS10K 7.1.1.1638.R01 Development, August 26, 2010.
Copyright (c) 1994-2010 Alcatel-Lucent.
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
OmniSwitch AOS Release 7 Switch Management Guide
command.
ssh
command and identify the IP address or hostname for the
and
session login-timeout
All Rights Reserved.
CLI commands.
March 2011
Using Secure Shell
ssh
page 1-13