Ssh server authentication – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1417
Secure Shell (SSH) Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
54.35
ssh server authentication
This command enables RSA public-key or password user authentication for SSH Server.
Apply the password keyword with the ssh server authentication command to enable
password authentication for users. Apply the publickey keyword with the ssh server
authentication command to enable RSA public-key authentication for users.
Use the no variant of this command to disable RSA public-key or password user
authentication for SSH Server. Apply the password keyword with the no ssh
authentication command to disable password authentication for users. Apply the
required publickey keyword with the no ssh authentication command to disable RSA
public-key authentication for users.
Syntax
ssh server authentication {password|publickey}
no ssh server authentication {password|publickey}
Default
Both RSA public-key authentication and password authentication are enabled by default.
Mode
Global Configuration
Usage
For password authentication to authenticate a user, password authentication for a user
must be registered in the local user database or on an external RADIUS server, before
using the ssh server authentication password command.
For RSA public-key authentication to authenticate a user, a public key must be added for
the user, before using the ssh server authentication publickey command.
Examples
To enable password authentication for users connecting through SSH, use the
commands:
To enable publickey authentication for users connecting through SSH, use the
commands:
To disable password authentication for users connecting through SSH, use the
commands:
Parameter
Description
password
Specifies user password authentication for SSH server.
publickey
Specifies user publickey authentication for SSH server.
awplus#
configure terminal
awplus(config)#
ssh server authentication password
awplus#
configure terminal
awplus(config)#
ssh server authentication publickey
awplus#
configure terminal
awplus(config)#
no ssh server authentication password