


You can use the dir command to list out the files and folder on your desktop: dir How to Copy Files from Local to Remote In the command prompt window, change the directory to your desktop like this: cd Desktop

Open command prompt by searching for cmd in the start menu. To use pscp on Windows, you have to execute it as a command through the command prompt.

This is a standalone executable, so you can run it from anywhere on your computer. You’ll want the 32 bit version if you do not have a 64 bit computer. Download PSCPįirst download Putty Secure Copy from the official website here. Please note that you will need to know the credentials (username and password) of the remote server for this to work properly. To do this, you can use a free, open-source program called Putty Secure Copy or pscp, for short. Using an integrated AAA system, such as a Radius based AAA with IAS and Active Directory as backend, we can also omit the username part and use our own domain password!ĭear TFTP & Co., it’s time for retirement! ReferencesĬ: Cisco Guide to Harden Cisco IOS DevicesĬ: Cisco Secure Copy (SCP) Feature Guide – 12.In this tutorial, you will learn how to copy files from Windows to a remote server, and vice versa from a remote server to Windows. Pscp source -ls example, we can download the startup-config and put it on a directory: C:>pscp.exe password: On the client side we can use an utility such as pscp, from the PuTTY suite, to interact with our SCP server – the router! C:>pscp.exe R1(config)#username admin privilege 15 secret 0 topsecretįinally, we can turn the scp server on: R1(config)#ip scp server enable In order to use scp to manage configuration we must have an user account with enough privileges to access it: R1(config)# R1(config)#aaa authorization exec default local R1(config)#aaa authentication login default local % Generating 512 bit RSA keys, keys will be non-exportable. The name for the keys will be: R1.mydomain R1(config)#crypto key generate rsa general-keys modulus 512 It relays on SSH and AAA, so both features have to be enabled on the device: Router(config)#hostname R1 It’s easy to deploy, easy to use and Cisco recommends to use it in the Guide to Harden Cisco IOS Devices too: why do not use it?! 🙂 With this feature we can transfer files, images and configurations in an encrypted way, and we can also authenticate accesses on the routers. SCP is a powerful tool introduced in IOS 12.2(2)T which allows us to securely transfer files to and from our routers.
