<｜begin▁of▁sentence｜>
### Instruction:
What is the purpose of Secure Shell (SSH) and how is it configured in Cisco IOS XR?
### Response:
Secure Shell (SSH) is used to provide secure and encrypted remote access to the router for management purposes. SSH is configured by generating a key pair, specifying the SSH version, setting the timeout and maximum authentication tries, and configuring VTY lines to use SSH as the transport protocol.
<|EOT|>
