Service Ssh - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

S
S
(SSH) C
ECURE
HELL
OMMANDS

SERVICE SSH

service ssh
Overview
This command enables the Secure Shell server on the device. Once enabled,
connections coming from SSH clients are accepted.
When you enable the SSH server, the server automatically generates an SSHv2 host
key pair (public and private keys), using RSA with 1024-bit key generation. If you
need a key with different parameters than this, you can use the
generate hostkey
server.
The no variant of this command disables the Secure Shell server. When the Secure
Shell server is disabled, connections from SSH, SCP, and SFTP clients are not
accepted. This command does not affect existing SSH sessions. To terminate
existing sessions, use the
Syntax
service ssh [ip|ipv6]
no service ssh [ip|ipv6]
Default
The Secure Shell server is disabled by default. Both IPv4 and IPv6 Secure Shell
server are enabled when you issue service ssh without specifying the optional ip
or ipv6 parameters.
Mode
Global Configuration
Examples
To enable both the IPv4 and the IPv6 Secure Shell server, use the commands:
awplus#
awplus(config)#
To enable the IPv4 Secure Shell server only, use the commands:
awplus#
awplus(config)#
To enable the IPv6 Secure Shell server only, use the commands:
awplus#
awplus(config)#
To disable both the IPv4 and the IPv6 Secure Shell server, use the commands:
awplus#
awplus(config)#
To disable the IPv4 Secure Shell server only, use the commands:
awplus#
awplus(config)#
To disable the IPv6 Secure Shell server only, use the commands:
awplus#
awplus(config)#
C613-50170-01 Rev B
command to generate that key before you enable the SSH
clear ssh
configure terminal
service ssh
configure terminal
service ssh ip
configure terminal
service ssh ipv6
configure terminal
no service ssh
configure terminal
no service ssh ip
configure terminal
no service ssh ipv6
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
command.
crypto key
2704

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents