Skip to main content

Posts

Showing posts from June, 2010

Secure Copy Protocol SCP

I have just discovered the joys of SCP.  When doing IOS upgrades across the internet this is the only way to go.  Who wants to mess around getting FTP working?  TFTP is next to useless across any unstable medium and even HTTP can be hassle to setup (unles you are using the awesome HFS portable app!). SCP simply allows you to transfer files to any device you can SSH to. It requires SSH and AAA to be setup on the device.  The first step as always is to generate an RSA key. Router(config)#hostname R1 R1(config)#crypto key generate rsa general-keys modulus 512 The name for the keys will be: R1.mydomain % The key modulus size is 512 bits % Generating 512 bit RSA keys, keys will be non-exportable...[OK] You must then turn on aaa and setup authentication and authorization (very important) to look for local usernames and passwords. R1(config)#aaa new-model R1(config)#aaa authentication login default local R1(config)#aaa authorization exec default local You will need to cre