Implementing Secure Shell on Cisco IOS XR Software
How to Implement Secure Shell
SC-206
Cisco IOS XR System Security Configuration Guide for the Cisco CRS-1 Router
OL-20382-01
Step 9
ssh server [vrf vrf-name]
or
ssh server v2
Example:
RP/0/RP0/CPU0:router(config)# ssh server vrf
green
or
RP/0/RP0/CPU0:router(config)# ssh server v2
• (Optional) Brings up an SSH server using a specified
VRF of up to 32 characters. If no VRF is specified, the
default VRF is used.
To stop the SSH server from receiving any further
connections for the specified VRF, use the no form of
this command. If no VRF is specified, the default is
assumed.
Note The SSH server can be configured for multiple VRF
usage.
• (Optional) Forces the SSH server to accept only SSHv2
clients if you configure the SSHv2 option by using the
ssh server v2 command. If you choose the ssh server
v2 command, only the SSH v2 client connections are
accepted.
Step 10
end
or
commit
Example:
RP/0/RP0/CPU0:router(config)# end
or
RP/0/RP0/CPU0:router(config)# commit
Saves configuration changes.
• When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting (yes/no/cancel)?
[cancel]:
–
Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
–
Entering no exits the configuration session and
returns the router to EXEC mode without
committing the configuration changes.
–
Entering cancel leaves the router in the current
configuration session without exiting or
committing the configuration changes.
• Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Step 11
show ssh
Example:
RP/0/RP0/CPU0:router# show ssh
(Optional) Displays all of the incoming and outgoing
SSHv1 and SSHv2 connections to the router.
Step 12
show ssh session details
Example:
RP/0/RP0/CPU0:router# show ssh session details
(Optional) Displays a detailed report of the SSHv2
connections to and from the router.
Command or Action Purpose