Security | 937Figure 45-6. Specifying an SSH versionTo disable SSH server functions, enter no ip ssh server enable.Using SCP with SSH to copy a software imageTo use Secure Copy (SCP) to copy a software image through an SSH connection from one switch toanother, use the following procedure:This example shows the use of SCP and SSH to copy a software image from one switch running SSHServer on UDP port 99 to the local switch:Figure 45-7. Using SCP to copy from an SSH Server on another SwitchOther SSH-related commands include:• crypto key generate: Generate keys for the SSH server.• debug ip ssh: Enables collecting SSH debug information.• ip scp topdir: Identify a location for files used in secure copy transfer.• ip ssh authentication-retries: Configure the maximum number of attempts that should be used toauthenticate a user.Step Task Command Syntax Command Mode1 On Chassis One, set the SSH portnumber (port 22 by default).ip ssh server port number CONFIGURATION2 On Chassis One, enable SSH. ip ssh server enable CONFIGURATION3 On Chassis Two, invoke SCP. copy scp: flash: CONFIGURATION4 On Chassis Two, in response to prompts,enter the path to the desired file and enterthe port number specified in Step 1.EXEC PrivilegeFTOS(conf)#ip ssh server version 2FTOS(conf)#do show ip sshSSH server : disabled.SSH server version : v2.Password Authentication : enabled.Hostbased Authentication : disabled.RSA Authentication : disabled..FTOS#copy scp: flash:Address or name of remote host []: 10.10.10.1Port number of the server [22]: 99Source file name []: test.cfgUser name to login remote host: adminPassword to login remote host: