I was trying to SCP a file toward a Cisco 2960S.
scp c2960s-universalk9-mz.150-2.SE6.bin peter@192.168.1.1:c2960s-universalk9-mz.150-2.SE6.bin Password: Privilege denied.
This was already configured, but it didn’t work
username peter privilege 15 secret 5 **** aaa new-model aaa session-id unique ip ssh version 2 ip scp server enable
Only after adding the following the SCP was successful
aaa authentication login default local aaa authorization exec default local none
it worked, as you can see:
scp c2960s-universalk9-mz.150-2.SE6.bin peter@ng-c2960s-a1-cs1:c2960s-universalk9-mz.150-2.SE6.bin Password: c2960s-universalk9-mz.150-2.SE6.bin 100% 14MB 37.7KB/s 06:17
Thanks for your research … the additional aaa commands worked for me. Big help!
I have everything set up the same way you do with the additional AAA commands, and I still can’t scp to/from my 3560. I must be losing my mind…what am I missing?!