Changing Default Sshd Secure Session Logout Parameters; Ssh Client Login To External Servers; Generating Ssh Client Key Pair - Cisco ASR 5000 Administration Manual

Staros release 21.1
Hide thumbs Also See for ASR 5000:
Table of Contents

Advertisement

Getting Started
Important

Changing Default sshd Secure Session Logout Parameters

The following command sequence modifies the default settings for the ClientAliveCountmax (default = 3)
and ClientAliveInterval (default = 15 seconds) parameters.
Step 1
Enter the context configuration mode.
host_name
[local]
Step 2
Go to the SSH Configuration mode.
host_name
[local]
Step 3
Set the ClientAliveCountmax parameter to 2.
host_name
[local]
Step 4
Set the ClientAliveInterval parameter to 5 seconds.
host_name
[local]
Step 5
Exit the SSH Configuration mode.
host_name
[local]
host_name
[local]

SSH Client Login to External Servers

StarOS supports public key authentication for SSH/SFTP access from the StarOS gateway to external servers.
You configure this feature by generating SSH client key pairs and pushing the client public key to external
servers
By default StarOS only supports username-password authentication to external servers.
Note

Generating SSH Client Key Pair

You use commands in the SSH Client Configuration mode to specify a private key and generate the SSH
client key pair.
Step 1
Enter the SSH client configuration mode.
host_name
[local]
host_name
[local]
These parameter apply to SSH protocol version 2 only.
configure
#
context context_name
(config)#
client-alive-countmax 2
(config-sshd)#
client-alive-interval 5
(config-sshd)#
end
(config-sshd)#
#
client ssh
(config)#
(config-ssh)#
SSH Client Login to External Servers
ASR 5000 System Administration Guide, StarOS Release 21.1
33

Advertisement

Table of Contents
loading

Table of Contents