CCNA Security IINS Topics | 2.1.e Use SCP for file transfer

Code For Lab

NYEDGE2(config)#ip domain-name

NYEDGE2(config)#hostname routername -if not already configured

NYEDGE2(config)#crypto key generate rsa general-keys modulus 2048

NYEDGE2(config)#ip ssh version 2

NYEDGE2(config)#username Oscar privilege 15 secret ccnasecurity

NYEDGE2(config)#aaa new-model

NYEDGE2(config)#aaa authentication login default local

NYEDGE2(config)#aaa authorization exec default local

NYEDGE2(config)#ip scp server enable


NYEDGE2#debug ip scp

NYEDGE2#show flash

  1. Download SCP from putty
  2. Open CMD as admin
  3. Drag SCP.exe to CMD
  4. And enter the following:

pscp.exe -scp [email protected]:2900-universalk9-mz.SPA.152-4.MG.bin C:\Users\Adminstrator\Downloads\2900-universalk9-mz.SPA.152-4.MG.bin

type in password: ccnasecurity


Secure copy protocol. Relies on SSH for security, SCP allows the secure and authenticated copying of anything that exists in the Cisco IOS File System.

The behavior of SCP is similar to that of remote copy (rcp), which comes from the Berkeley r-tools suite, except that SCP relies on SSH for security. In addition, SCP requires that authentication, authorization, and accounting (AAA) authorization to be configured so the router can determine whether the user has the correct privilege level. SCP does not work without AAA

SCP allows a user who has appropriate authorization to copy any file that exists in the Cisco IOS File System (IFS) to and from a router by using the copy command.

An authorized administrator may also perform this action from a workstation

Share the Post:

Related Posts

Help Us By Donating